#57526 closed enhancement (fixed)
Globals Styles Endpoint: Declare 'edit_css' capability in links
| Reported by: | Mamaduka | Owned by: | hellofromTonya |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.2 |
| Component: | REST API | Version: | 5.9 |
| Severity: | normal | Keywords: | has-patch has-unit-tests gutenberg-merge commit |
| Cc: | Focuses: |
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.
4 years ago
#1
- Keywords has-patch has-unit-tests added
@Mamaduka commented on PR #3889:
4 years ago
#3
cc @hellofromtonya
#4
@
4 years ago
- Description modified (diff)
- Keywords gutenberg-merge added
- Owner set to
- Status new → reviewing
- Summary Globals Styles Endpoint: Declare edit_css capability in links → Globals Styles Endpoint: Declare 'edit_css' capability in links
- Version → 5.9
@hellofromTonya commented on PR #3889:
4 years ago
#5
Currently reviewing.
#6
@
4 years 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:
4 years ago
#8
Committed via https://core.trac.wordpress.org/changeset/55177.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Trac ticket: https://core.trac.wordpress.org/ticket/57526
Related Gutenberg PR: https://github.com/WordPress/gutenberg/pull/46815