Docs: Correct `@since` tag for `users_pre_query` filter added in [44373].

Revert unintended change to the `@since` tag for the `WP_User_Query` instance added to `found_users_query` filter in [43660].

See #44169, #43679.
Built from https://develop.svn.wordpress.org/trunk@44410


git-svn-id: http://core.svn.wordpress.org/trunk@44240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-01-07 07:56:50 +00:00
parent 5781515e7d
commit f21b9db825
2 changed files with 5 additions and 4 deletions

View File

@ -601,9 +601,10 @@ class WP_User_Query {
* by reference. If WP_User_Query does not perform a database query, it will not
* have enough information to generate these values itself.
*
* @since 5.0.3
* @since 5.1.0
*
* @param array|null $results Return an array of user data to short-circuit WP's user query or null to allow WP to run its normal queries.
* @param array|null $results Return an array of user data to short-circuit WP's user query
* or null to allow WP to run its normal queries.
* @param WP_User_Query $this The WP_User_Query instance (passed by reference).
*/
$this->results = apply_filters_ref_array( 'users_pre_query', array( null, &$this ) );
@ -622,7 +623,7 @@ class WP_User_Query {
* Filters SELECT FOUND_ROWS() query for the current WP_User_Query instance.
*
* @since 3.2.0
* @since 5.0.3 Added the `$this` parameter.
* @since 5.1.0 Added the `$this` parameter.
*
* @global wpdb $wpdb WordPress database abstraction object.
*

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.1-alpha-44408';
$wp_version = '5.1-alpha-44410';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.