Make WordPress Core

Ticket #14528: no_found_rows.diff

File no_found_rows.diff, 387 bytes (added by scribu, 15 years ago)
  • wp-includes/post.php

     
    11231123                $r['post__not_in'] = wp_parse_id_list( $r['exclude'] );
    11241124
    11251125        $r['caller_get_posts'] = true;
     1126        $r['no_found_rows'] = true;
    11261127
    11271128        $get_posts = new WP_Query;
    11281129        return $get_posts->query($r);