Revert [30036].
see #18035 Built from https://develop.svn.wordpress.org/trunk@30912 git-svn-id: http://core.svn.wordpress.org/trunk@30902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2a170d1f13
commit
0cf92119eb
|
@ -436,7 +436,7 @@ function get_post_class( $class = '', $post_id = null ) {
|
|||
|
||||
// sticky for Sticky Posts
|
||||
if ( is_sticky( $post->ID ) ) {
|
||||
if ( is_home() && ! is_paged() && ! get_query_var( 'ignore_sticky_posts' ) ) {
|
||||
if ( is_home() && ! is_paged() ) {
|
||||
$classes[] = 'sticky';
|
||||
} elseif ( is_admin() ) {
|
||||
$classes[] = 'status-sticky';
|
||||
|
|
Loading…
Reference in New Issue