diff --git a/src/wp-includes/post-template.php b/src/wp-includes/post-template.php index f3a65dfa82..00a030250f 100644 --- a/src/wp-includes/post-template.php +++ b/src/wp-includes/post-template.php @@ -451,8 +451,13 @@ function get_post_class( $class = '', $post_id = null ) { } // sticky for Sticky Posts - if ( is_sticky($post->ID) && is_home() && !is_paged() ) - $classes[] = 'sticky'; + if ( is_sticky( $post->ID ) ) { + if ( is_home() && ! is_paged() ) { + $classes[] = 'sticky'; + } elseif ( is_admin() ) { + $classes[] = 'status-sticky'; + } + } // hentry for hAtom compliance $classes[] = 'hentry';