Make WordPress Core

Ticket #13666: paged-sticky-class.diff

File paged-sticky-class.diff, 423 bytes (added by iandstewart, 15 years ago)
  • post-template.php

     
    318318        $classes[] = 'type-' . $post->post_type;
    319319
    320320        // sticky for Sticky Posts
    321         if ( is_sticky($post->ID) && is_home())
     321        if ( is_sticky($post->ID) && is_home() && !is_paged() )
    322322                $classes[] = 'sticky';
    323323
    324324        // hentry for hAtom compliace