[wp-trac] [WordPress Trac] #31503: code flaw in function wp_clean_update_cache

WordPress Trac noreply at wordpress.org
Mon Mar 2 13:20:39 UTC 2015


#31503: code flaw in function wp_clean_update_cache
--------------------------+--------------------
 Reporter:  juggledad     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.2
Component:  General       |     Version:  4.1.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+--------------------

Comment (by TobiasBg):

 I can't think of a scenario right now, where `WP_INC/theme.php` (for
 `wp_clean_themes_cache()`) is loaded, but `plugin.php` (for
 `wp_clean_plugins_cache()`) isn't. Thus, we should probably add the same
 check for `wp_clean_themes_cache()` as well, see [attachment:31503.diff].

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


More information about the wp-trac mailing list