Changeset 29003
- Timestamp:
- 07/05/2014 12:12:46 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post-template.php
r28976 r29003 452 452 453 453 // sticky for Sticky Posts 454 if ( is_sticky($post->ID) && is_home() && !is_paged() ) 455 $classes[] = 'sticky'; 454 if ( is_sticky( $post->ID ) ) { 455 if ( is_home() && ! is_paged() ) { 456 $classes[] = 'sticky'; 457 } elseif ( is_admin() ) { 458 $classes[] = 'status-sticky'; 459 } 460 } 456 461 457 462 // hentry for hAtom compliance
Note: See TracChangeset
for help on using the changeset viewer.