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:
parent
e20add7b49
commit
f37038e6ac
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue