WordPress.org

Make WordPress Core

Changeset 47298


Ignore:
Timestamp:
02/17/2020 03:54:11 AM (9 months ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments for require_once calls in WP_REST_Users_Controller per the documentation standards.

Follow-up to [47295].

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php

    r47122 r47298  
    897897        $previous = $this->prepare_item_for_response( $user, $request );
    898898
    899         /** Include admin user functions to get access to wp_delete_user() */
     899        // Include user admin functions to get access to wp_delete_user().
    900900        require_once ABSPATH . 'wp-admin/includes/user.php';
    901901
     
    12111211            }
    12121212
    1213             /** Include admin functions to get access to get_editable_roles() */
     1213            // Include admin functions to get access to get_editable_roles().
    12141214            require_once ABSPATH . 'wp-admin/includes/admin.php';
    12151215
Note: See TracChangeset for help on using the changeset viewer.