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
This commit is contained in:
Sergey Biryukov 2020-12-25 14:54:07 +00:00
parent 5a7fa8b7f3
commit c3b89441f7
2 changed files with 2 additions and 2 deletions

View File

@ -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 ) {

View File

@ -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.