Changeset 20329
- Timestamp:
- 03/30/2012 02:46:52 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-upgrader.php
r20268 r20329 413 413 // Force refresh of plugin update information 414 414 delete_site_transient('update_plugins'); 415 wp_cache_delete( 'plugins', 'plugins' ); 415 416 416 417 return true; … … 457 458 // Force refresh of plugin update information 458 459 delete_site_transient('update_plugins'); 460 wp_cache_delete( 'plugins', 'plugins' ); 459 461 } 460 462 … … 538 540 // Force refresh of plugin update information 539 541 delete_site_transient('update_plugins'); 542 wp_cache_delete( 'plugins', 'plugins' ); 540 543 541 544 return $results; … … 764 767 // Force refresh of theme update information 765 768 delete_site_transient('update_themes'); 769 foreach ( wp_get_themes() as $theme ) 770 $theme->cache_delete(); 766 771 767 772 return true; … … 810 815 // Force refresh of theme update information 811 816 delete_site_transient('update_themes'); 817 foreach ( wp_get_themes() as $theme ) 818 $theme->cache_delete(); 812 819 813 820 return true; … … 897 904 // Force refresh of theme update information 898 905 delete_site_transient('update_themes'); 906 foreach ( wp_get_themes() as $theme ) 907 $theme->cache_delete(); 899 908 900 909 return $results;
Note: See TracChangeset
for help on using the changeset viewer.