mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-03 08:40:10 +00:00
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:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user