Correct 'found_users_query' filter description. see #25533.

git-svn-id: https://develop.svn.wordpress.org/trunk@26904 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2014-01-04 18:49:30 +00:00
parent 5dae0e834a
commit b71b3231ce

View File

@ -663,13 +663,13 @@ class WP_User_Query {
}
/**
* Filter SELECT_FOUND_ROWS value for the current WP_User_Query instance.
* Filter SELECT FOUND_ROWS() query for the current WP_User_Query instance.
*
* @since 3.2.0
*
* @global wpdb $wpdb WordPress database object.
*
* @param string $sql The SELECT_FOUND_ROWS() value for the current WP_User_Query.
* @param string $sql The SELECT FOUND_ROWS() query for the current WP_User_Query.
*/
if ( isset( $qv['count_total'] ) && $qv['count_total'] )
$this->total_users = $wpdb->get_var( apply_filters( 'found_users_query', 'SELECT FOUND_ROWS()' ) );