Changeset 17825
- Timestamp:
- 05/06/2011 08:54:43 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/default-widgets.php
r17765 r17825 538 538 $number = 10; 539 539 540 $r = new WP_Query(array('posts_per_page' => $number, 'no paging' => 0, 'post_status' => 'publish', 'ignore_sticky_posts' => true));540 $r = new WP_Query(array('posts_per_page' => $number, 'no_found_rows' => true, 'post_status' => 'publish', 'ignore_sticky_posts' => true)); 541 541 if ($r->have_posts()) : 542 542 ?>
Note: See TracChangeset
for help on using the changeset viewer.