WordPress/wp-includes/rest-api
Sergey Biryukov 61986acde9 Users: Limit the scope of admin files required in WP_REST_Users_Controller.
This requires only `wp-admin/includes/user.php` for `get_editable_roles()`, instead of `wp-admin/includes/admin.php`.

Follow-up to [43589].

Props johnwatkins0.
Fixes #49450.
Built from https://develop.svn.wordpress.org/trunk@47299


git-svn-id: http://core.svn.wordpress.org/trunk@47099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-17 05:33:06 +00:00
..
endpoints Users: Limit the scope of admin files required in WP_REST_Users_Controller. 2020-02-17 05:33:06 +00:00
fields Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
search Docs: Add missing @see tag to WP_REST_Post_Search_Handler DocBlock. 2019-05-14 15:00:07 +00:00
class-wp-rest-request.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-response.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-server.php REST API: Match REST API routes on namespace before performing regex checks. 2020-02-11 03:22:05 +00:00