WordPress.org

Make WordPress Core

Ticket #14849: theme.php.15608.diff

File theme.php.15608.diff, 380 bytes (added by jorbin, 8 years ago)
  • wp-includes/theme.php

     
    12181218        update_option('stylesheet', $stylesheet);
    12191219        delete_option('current_theme');
    12201220        $theme = get_current_theme();
     1221        flush_rewrite_rules();
    12211222        do_action('switch_theme', $theme);
    12221223}
    12231224