WordPress.org

Make WordPress Core

Ticket #9518: 9518.diff

File 9518.diff, 427 bytes (added by Denis-de-Bernardy, 5 years ago)
  • wp-includes/theme.php

     
    948948        update_option('template', $template); 
    949949        update_option('stylesheet', $stylesheet); 
    950950        delete_option('current_theme'); 
     951        delete_transient('update_theme'); 
    951952        $theme = get_current_theme(); 
    952953        do_action('switch_theme', $theme); 
    953954}