Docs: Correct the type of the $user parameter in WP_REST_Users_Controller::prepare_links().

Props iviweb, mukesh27.
Fixes #52175.

git-svn-id: https://develop.svn.wordpress.org/trunk@49906 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-12-25 14:52:25 +00:00
parent 54b6981355
commit 0f33f289e8

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