[wp-trac] [WordPress Trac] #34182: 'allowedthemes' network option never gets primed when themes are deleted
WordPress Trac
noreply at wordpress.org
Tue Apr 12 06:05:27 UTC 2016
#34182: 'allowedthemes' network option never gets primed when themes are deleted
------------------------------------------+-----------------------------
Reporter: DrewAPicture | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses: multisite
------------------------------------------+-----------------------------
Comment (by jeremyfelt):
Once #30594 is in, we'll have `WP_Network::network_disable_theme()`
available to us. [attachment:34182.diff] implements this in
`delete_theme()`.
Unit tests on this might be tough. We don't have anything covering
`delete_themes()` at the moment.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34182#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list