[wp-trac] [WordPress Trac] #43228: register_theme_directory() needs to delete the `theme_roots` transient

WordPress Trac noreply at wordpress.org
Tue Mar 6 08:52:50 UTC 2018


#43228: register_theme_directory() needs to delete the `theme_roots` transient
--------------------------------------+--------------------------
 Reporter:  johnbillion               |       Owner:  johnbillion
     Type:  defect (bug)              |      Status:  reopened
 Priority:  normal                    |   Milestone:  5.0
Component:  Themes                    |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+--------------------------
Changes (by afragen):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Calling `wp_clean_themes_cache()` this early in the load process renders
 the filter `'extra_themes_headers'` in `get_file_data()` of wp-
 includes/functions.php useless as a call from any other source.

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


More information about the wp-trac mailing list