Changeset 14245
- Timestamp:
- 04/26/2010 10:12:28 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r14217 r14245 2487 2487 foreach ( $stickies as $sticky_post ) { 2488 2488 // Ignore sticky posts the current user cannot read or are not published. 2489 if ( !current_user_can('read_post', $sticky_post->ID) ||'publish' != $sticky_post->post_status )2489 if ( 'publish' != $sticky_post->post_status ) 2490 2490 continue; 2491 2491 array_splice($this->posts, $sticky_offset, 0, array($sticky_post));
Note: See TracChangeset
for help on using the changeset viewer.