diff --git a/wp-includes/post.php b/wp-includes/post.php index 08b2b45126..5f01a2f762 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -1123,6 +1123,7 @@ function get_posts($args = null) { $r['post__not_in'] = wp_parse_id_list( $r['exclude'] ); $r['caller_get_posts'] = true; + $r['no_found_rows'] = true; $get_posts = new WP_Query; return $get_posts->query($r);