Make WordPress Core


Ignore:
Timestamp:
06/10/2011 08:14:59 PM (13 years ago)
Author:
ryan
Message:

Use no_found_rows for some queries. Props pavelevap. fixes #17745

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyeleven/inc/widgets.php

    r18059 r18239  
    6161            'order' => 'DESC',
    6262            'posts_per_page' => $number,
    63             'nopaging' => 0,
     63            'no_found_rows' => true,
    6464            'post_status' => 'publish',
    6565            'post__not_in' => get_option( 'sticky_posts' ),
Note: See TracChangeset for help on using the changeset viewer.