Revert [30036].
see #18035 git-svn-id: https://develop.svn.wordpress.org/trunk@30912 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8d69099344
commit
93ea9862a5
|
@ -436,7 +436,7 @@ function get_post_class( $class = '', $post_id = null ) {
|
||||||
|
|
||||||
// sticky for Sticky Posts
|
// sticky for Sticky Posts
|
||||||
if ( is_sticky( $post->ID ) ) {
|
if ( is_sticky( $post->ID ) ) {
|
||||||
if ( is_home() && ! is_paged() && ! get_query_var( 'ignore_sticky_posts' ) ) {
|
if ( is_home() && ! is_paged() ) {
|
||||||
$classes[] = 'sticky';
|
$classes[] = 'sticky';
|
||||||
} elseif ( is_admin() ) {
|
} elseif ( is_admin() ) {
|
||||||
$classes[] = 'status-sticky';
|
$classes[] = 'status-sticky';
|
||||||
|
|
Loading…
Reference in New Issue