[wp-trac] [WordPress Trac] #34182: 'allowedthemes' network option never gets primed when themes are deleted

WordPress Trac noreply at wordpress.org
Wed Oct 7 03:35:37 UTC 2015


#34182: 'allowedthemes' network option never gets primed when themes are deleted
------------------------------------------+------------------------
 Reporter:  DrewAPicture                  |       Owner:
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  4.4
Component:  Themes                        |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:  multisite
------------------------------------------+------------------------
Description changed by DrewAPicture:

Old description:

> It appears that the 'allowedthemes' network option is channeling Rick
> Astley in that it never gives up or let's down, or runs around and
> deserts the themes it stores.
>
> In my testing, it would seem that all themes ever installed are stored in
> perpetuity. It's possible this behavior has been around since `WP_Theme`
> was written in 3.4.

New description:

 It appears that the 'allowedthemes' network option is channeling Rick
 Astley in that it never gives up or let's down, or runs around and deserts
 the themes it stores.

 In my testing, it would seem that all themes ever installed are stored in
 perpetuity. It's possible this behavior has been around since `WP_Theme`
 was written in 3.4.

 For example: I ran across this bug when testing something unrelated, and
 noticed that 'allowedthemes' contained 303 total keys (I have ~10 themes
 on my test build currently).

--

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34182#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list