WordPress.org

Make WordPress Core

Ticket #20919: 20919.2.diff

File 20919.2.diff, 898 bytes (added by nacin, 23 months ago)
  • wp-admin/includes/class-wp-upgrader.php

     
    764764 
    765765                // Force refresh of theme update information 
    766766                delete_site_transient('update_themes'); 
     767                search_theme_directories( true ); 
    767768                foreach ( wp_get_themes() as $theme ) 
    768769                        $theme->cache_delete(); 
    769770 
     
    812813 
    813814                // Force refresh of theme update information 
    814815                delete_site_transient('update_themes'); 
     816                search_theme_directories( true ); 
    815817                foreach ( wp_get_themes() as $theme ) 
    816818                        $theme->cache_delete(); 
    817819 
     
    901903 
    902904                // Force refresh of theme update information 
    903905                delete_site_transient('update_themes'); 
     906                search_theme_directories( true ); 
    904907                foreach ( wp_get_themes() as $theme ) 
    905908                        $theme->cache_delete(); 
    906909