WordPress/wp-includes/rest-api/endpoints
hellofromTonya 96f54a8132 REST API: Declare 'edit_css' capability in links within WP_REST_Global_Styles_Controller.
Updates the Global Styles endpoint to expose the `'edit_css'` capability via action links.

References:
* [https://github.com/WordPress/gutenberg/pull/46815 Gutenberg PR 46815] Part of an effort to hide custom CSS setting for users without `'edit_css'` capability.

Follow-up to [52342], [52051].

Props mamaduka, dsas, glendaviesnz, mmtr86, talldanwp, timothyblynjacobs.
Fixes #57526.
Built from https://develop.svn.wordpress.org/trunk@55177


git-svn-id: http://core.svn.wordpress.org/trunk@54710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-02-01 18:38:14 +00:00
..
class-wp-rest-application-passwords-controller.php
class-wp-rest-attachments-controller.php
class-wp-rest-autosaves-controller.php Revisions: only create autosave when content changed. 2023-01-27 22:03:19 +00:00
class-wp-rest-block-directory-controller.php
class-wp-rest-block-pattern-categories-controller.php Editor: Allow block pattern categories to have descriptions. 2023-01-19 12:13:14 +00:00
class-wp-rest-block-patterns-controller.php Docs: Improve documentation for block pattern properties. 2023-02-01 15:02:14 +00:00
class-wp-rest-block-renderer-controller.php
class-wp-rest-block-types-controller.php
class-wp-rest-blocks-controller.php
class-wp-rest-comments-controller.php
class-wp-rest-controller.php Code Modernization: Rename parameters that use reserved keywords in phpunit/tests/rest-api/rest-*-controller.php. 2023-01-20 00:21:15 +00:00
class-wp-rest-edit-site-export-controller.php
class-wp-rest-global-styles-controller.php REST API: Declare 'edit_css' capability in links within WP_REST_Global_Styles_Controller. 2023-02-01 18:38:14 +00:00
class-wp-rest-menu-items-controller.php
class-wp-rest-menu-locations-controller.php
class-wp-rest-menus-controller.php
class-wp-rest-pattern-directory-controller.php Editor: Adds pagination and ordering support to WP_REST_Pattern_Directory_Controller. 2023-01-24 16:54:11 +00:00
class-wp-rest-plugins-controller.php
class-wp-rest-post-statuses-controller.php
class-wp-rest-post-types-controller.php
class-wp-rest-posts-controller.php
class-wp-rest-revisions-controller.php Code Modernization: Rename parameters that use reserved keywords in phpunit/includes/class-wp-unittest-factory-for-attachment.php. 2022-12-30 02:38:17 +00:00
class-wp-rest-search-controller.php
class-wp-rest-settings-controller.php
class-wp-rest-sidebars-controller.php
class-wp-rest-site-health-controller.php
class-wp-rest-taxonomies-controller.php
class-wp-rest-templates-controller.php
class-wp-rest-terms-controller.php
class-wp-rest-themes-controller.php
class-wp-rest-url-details-controller.php
class-wp-rest-users-controller.php
class-wp-rest-widget-types-controller.php Code Modernization: Rename parameters that use reserved keywords in wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php. 2022-12-14 14:28:12 +00:00
class-wp-rest-widgets-controller.php Code Modernization: Rename parameters that use reserved keywords in wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php. 2022-12-14 14:31:11 +00:00