#20954 closed enhancement (fixed)
Introduce wp_clean_themes_cache()
| Reported by: | nacin | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Cache API | Version: | 3.4 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Rather than this:
delete_site_transient('update_themes');
search_theme_directories( true );
foreach ( wp_get_themes() as $theme )
$theme->cache_delete();
Change History (3)
Note:
See TracTickets
for help on using tickets.
In [21080]: