[wp-trac] [WordPress Trac] #49268: Broken themes should always be listed
WordPress Trac
noreply at wordpress.org
Wed Jan 22 12:26:35 UTC 2020
#49268: Broken themes should always be listed
----------------------------+----------------------------------------
Reporter: johnbillion | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version:
Severity: normal | Keywords: needs-patch good-first-bug
Focuses: administration |
----------------------------+----------------------------------------
The list of broken themes on the Appearance screen only appears if the
user can edit themes (`current_user_can( 'edit_themes' )`). This means if
`DISALLOW_FILE_MODS` is set to true then the list of broken themes doesn't
appear, which is confusing if the user knows for a fact there is a broken
theme present.
The list should always been shown. The `Delete` and `Install parent theme`
buttons should be hidden or shown depending on the `edit_themes`
capability.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49268>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list