From c3b89441f7b90fcc9f513db94d3b6787528133a8 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 25 Dec 2020 14:54:07 +0000 Subject: [PATCH] Docs: Correct the type of the `$user` parameter in `WP_REST_Users_Controller::prepare_links()`. Props iviweb, mukesh27. Fixes #52175. Built from https://develop.svn.wordpress.org/trunk@49906 git-svn-id: http://core.svn.wordpress.org/trunk@49605 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../rest-api/endpoints/class-wp-rest-users-controller.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php index 7220774e7e..d0f23e9124 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php @@ -1073,7 +1073,7 @@ class WP_REST_Users_Controller extends WP_REST_Controller { * * @since 4.7.0 * - * @param WP_Post $user User object. + * @param WP_User $user User object. * @return array Links for the given user. */ protected function prepare_links( $user ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index cea412c455..b15b137ca8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.7-alpha-49905'; +$wp_version = '5.7-alpha-49906'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.