Fix typo in phpdoc. props jcastaneda. fixes #24185.

git-svn-id: http://core.svn.wordpress.org/trunk@24096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2013-04-25 23:10:36 +00:00
parent e20add7b49
commit f37038e6ac

View File

@ -2,8 +2,8 @@
/** /**
* WordPress Query API * WordPress Query API
* *
* The query API attempts to get which part of WordPress to the user is on. It * The query API attempts to get which part of WordPress the user is on. It
* also provides functionality to getting URL query information. * also provides functionality for getting URL query information.
* *
* @link http://codex.wordpress.org/The_Loop More information on The Loop. * @link http://codex.wordpress.org/The_Loop More information on The Loop.
* *
@ -2809,7 +2809,7 @@ class WP_Query {
function set_found_posts( $q, $limits ) { function set_found_posts( $q, $limits ) {
global $wpdb; global $wpdb;
// Bail if posts is an empty array. Continue if posts is an empty string // Bail if posts is an empty array. Continue if posts is an empty string,
// null, or false to accommodate caching plugins that fill posts later. // null, or false to accommodate caching plugins that fill posts later.
if ( $q['no_found_rows'] || ( is_array( $this->posts ) && ! $this->posts ) ) if ( $q['no_found_rows'] || ( is_array( $this->posts ) && ! $this->posts ) )
return; return;