WordPress.org

Make WordPress Core

Ticket #52175: 52175.diff

File 52175.diff, 612 bytes (added by mukesh27, 10 months ago)
  • wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php

    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 b class WP_REST_Users_Controller extends WP_REST_Controller { 
    10731073         *
    10741074         * @since 4.7.0
    10751075         *
    1076          * @param WP_Post $user User object.
     1076         * @param WP_User $user User object.
    10771077         * @return array Links for the given user.
    10781078         */
    10791079        protected function prepare_links( $user ) {