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

WordPress Trac noreply at wordpress.org
Wed Mar 18 21:56:25 UTC 2015


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

Comment (by TobiasBg):

 Replying to [comment:6 nacin]:
 > wp_clean_plugins_cache() is in *wp-admin/includes*, which is not always
 loaded, while wp-includes/theme.php is always loaded. Just removing the
 one line is appropriate.

 Ah, indeed. Had somehow confused it with the `WP_INC/plugin.php`. Thanks
 for clearing this up!

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


More information about the wp-trac mailing list