- Timestamp:
- 02/17/2020 03:54:11 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php
r47122 r47298 897 897 $previous = $this->prepare_item_for_response( $user, $request ); 898 898 899 / ** Include admin user functions to get access to wp_delete_user() */899 // Include user admin functions to get access to wp_delete_user(). 900 900 require_once ABSPATH . 'wp-admin/includes/user.php'; 901 901 … … 1211 1211 } 1212 1212 1213 / ** Include admin functions to get access to get_editable_roles() */1213 // Include admin functions to get access to get_editable_roles(). 1214 1214 require_once ABSPATH . 'wp-admin/includes/admin.php'; 1215 1215
Note: See TracChangeset
for help on using the changeset viewer.