From c4394e12f894bbad6fa8203c3a38b125c9e625dc Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 7 Jan 2019 07:55:19 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@44410 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-user-query.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/class-wp-user-query.php b/src/wp-includes/class-wp-user-query.php index 23f108dbd3..084655932a 100644 --- a/src/wp-includes/class-wp-user-query.php +++ b/src/wp-includes/class-wp-user-query.php @@ -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. *