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:
parent
5a7fa8b7f3
commit
c3b89441f7
|
@ -1073,7 +1073,7 @@ class WP_REST_Users_Controller extends WP_REST_Controller {
|
||||||
*
|
*
|
||||||
* @since 4.7.0
|
* @since 4.7.0
|
||||||
*
|
*
|
||||||
* @param WP_Post $user User object.
|
* @param WP_User $user User object.
|
||||||
* @return array Links for the given user.
|
* @return array Links for the given user.
|
||||||
*/
|
*/
|
||||||
protected function prepare_links( $user ) {
|
protected function prepare_links( $user ) {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue