Opened 10 years ago
Last modified 9 years ago
#39083 new enhancement
Introduce singular capabilities for managing individual themes
| Reported by: | johnbillion | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Themes | Version: | |
| Severity: | normal | Keywords: | needs-patch, needs-unit-tests, granular-capabilities |
| Cc: | Focuses: |
Description
As we did in #35614 for taxonomy terms, singular capabilities should be introduced for switching, editing, deleting, and updating individual themes.
This would allow fine-grained cap checks such as current_user_can( 'switch_theme', $theme ) and current_user_can( 'delete_theme', $theme ).
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
All of these are part of a larger goal.