diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index 0699fb9943..cdc821bbaa 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -313,7 +313,7 @@ function get_post_class( $class = '', $post_id = null ) { $classes[] = $post->post_type; // sticky for Sticky Posts - if ( is_sticky($post->ID) ) + if ( is_sticky($post->ID) && is_home()) $classes[] = 'sticky'; // hentry for hAtom compliace