WordPress.org

Make WordPress Core

Changeset 15088


Ignore:
Timestamp:
06/01/10 15:03:49 (5 years ago)
Author:
ryan
Message:

Don't add sticky class if is_paged(). Props iandstewart. fixes #13666

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post-template.php

    r14949 r15088  
    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 
Note: See TracChangeset for help on using the changeset viewer.