Changeset 11230
- Timestamp:
- 05/07/2009 07:05:35 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r11213 r11230 2305 2305 // Put sticky posts at the top of the posts array 2306 2306 $sticky_posts = get_option('sticky_posts'); 2307 if ( $this->is_home && $page <= 1 && !empty($sticky_posts) && !$q['caller_get_posts'] ) {2307 if ( $this->is_home && $page <= 1 && is_array($sticky_posts) && !empty($sticky_posts) && !$q['caller_get_posts'] ) { 2308 2308 $num_posts = count($this->posts); 2309 2309 $sticky_offset = 0;
Note: See TracChangeset
for help on using the changeset viewer.