[wp-trac] [WordPress Trac] #20954: Introduce wp_clean_themes_cache()

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 14 14:22:59 UTC 2012


#20954: Introduce wp_clean_themes_cache()
--------------------------+-----------------
 Reporter:  nacin         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  3.5
Component:  Cache         |    Version:  3.4
 Severity:  normal        |   Keywords:
--------------------------+-----------------
 Rather than this:

 {{{
 delete_site_transient('update_themes');
 search_theme_directories( true );
 foreach ( wp_get_themes() as $theme )
         $theme->cache_delete();
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20954>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list