#57526 closed enhancement (fixed)
Globals Styles Endpoint: Declare 'edit_css' capability in links
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.2 | Priority: | normal |
Severity: | normal | Version: | 5.9 |
Component: | REST API | Keywords: | has-patch has-unit-tests gutenberg-merge commit |
Focuses: | Cc: |
Description (last modified by )
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.
Change History (8)
This ticket was mentioned in PR #3889 on WordPress/wordpress-develop by @Mamaduka.
11 months ago
#1
- Keywords has-patch has-unit-tests added
@Mamaduka commented on PR #3889:
11 months ago
#3
cc @hellofromtonya
#4
@
11 months ago
- Description modified (diff)
- Keywords gutenberg-merge added
- Owner set to hellofromTonya
- Status changed from new to reviewing
- Summary changed from Globals Styles Endpoint: Declare edit_css capability in links to Globals Styles Endpoint: Declare 'edit_css' capability in links
- Version set to 5.9
@hellofromTonya commented on PR #3889:
10 months ago
#5
Currently reviewing.
#6
@
10 months ago
- Keywords commit added
- Confirmed this patch has the REST PHP code changes from the GB PR ✅
- Timothy confirmed the URL is okay ✅
- Tests included ✅
Ready for commit 👍 Prepping commit now.
@hellofromTonya commented on PR #3889:
10 months ago
#8
Committed via https://core.trac.wordpress.org/changeset/55177.
Note: See
TracTickets for help on using
tickets.
Trac ticket: https://core.trac.wordpress.org/ticket/57526
Related Gutenberg PR: https://github.com/WordPress/gutenberg/pull/46815