WordPress.org

Make WordPress Core

Ticket #7712: 7712.diff

File 7712.diff, 420 bytes (added by MtDewVirus, 6 years ago)
  • wp-includes/post-template.php

     
    313313        $classes[] = $post->post_type; 
    314314 
    315315        // sticky for Sticky Posts 
    316         if ( is_sticky($post->ID) ) 
     316        if ( is_sticky($post->ID) && is_home()) 
    317317                $classes[] = 'sticky'; 
    318318 
    319319        // hentry for hAtom compliace