mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-28 23:27:39 +02:00
Correct 'found_users_query' filter description. see #25533.
Built from https://develop.svn.wordpress.org/trunk@26904 git-svn-id: http://core.svn.wordpress.org/trunk@26787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4e3b70d354
commit
9145c85fc7
@ -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
|
* @since 3.2.0
|
||||||
*
|
*
|
||||||
* @global wpdb $wpdb WordPress database object.
|
* @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'] )
|
if ( isset( $qv['count_total'] ) && $qv['count_total'] )
|
||||||
$this->total_users = $wpdb->get_var( apply_filters( 'found_users_query', 'SELECT FOUND_ROWS()' ) );
|
$this->total_users = $wpdb->get_var( apply_filters( 'found_users_query', 'SELECT FOUND_ROWS()' ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user