Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
REST API: Declare 'edit_css' capability in links within `WP_REST_Glob…
…al_Styles_Controller`. Updates the Global Styles endpoint to expose the `'edit_css'` capability via action links. References: * [WordPress/gutenberg#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
- Loading branch information