[wp-trac] [WordPress Trac] #57526: Globals Styles Endpoint: Declare 'edit_css' capability in links (was: Globals Styles Endpoint: Declare edit_css capability in links)
WordPress Trac
noreply at wordpress.org
Wed Jan 25 13:48:54 UTC 2023
#57526: Globals Styles Endpoint: Declare 'edit_css' capability in links
-------------------------------------------------+-------------------------
Reporter: Mamaduka | Owner:
| hellofromTonya
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 6.2
Component: REST API | Version: 5.9
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests gutenberg- | Focuses:
merge |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):
* status: new => reviewing
* owner: (none) => hellofromTonya
* version: => 5.9
* keywords: has-patch has-unit-tests => has-patch has-unit-tests
gutenberg-merge
Old description:
> Update the Global Styles endpoint to expose the `edit_css` capability via
> action links.
>
> This is a backport from the Gutenberg plugin.
New description:
Update the Global Styles endpoint to expose the `'edit_css'` capability
via action links.
This is the part of an effort to hide custom CSS setting for users without
`'edit_css'` capability. See
https://github.com/WordPress/gutenberg/pull/46815.
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57526#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list