[wp-trac] [WordPress Trac] #41441: Deleting a theme from a single site's Themes screen should not be allowed
WordPress Trac
noreply at wordpress.org
Sun Sep 20 10:23:40 UTC 2020
#41441: Deleting a theme from a single site's Themes screen should not be allowed
--------------------------+----------------------------------------
Reporter: johnbillion | Owner: johnbillion
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 5.6
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: administration, multisite
--------------------------+----------------------------------------
Comment (by johnbillion):
[attachment:"41441.diff"] is a slightly different approach, it moves the
`! is_multisite()` logic to the point where the actions are constructed,
therefore keeping the theme deletion logic in one place.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41441#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list