Changeset 45115 for trunk/src/wp-includes/theme.php
- Timestamp:
- 04/05/2019 03:32:31 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/theme.php
r45089 r45115 744 744 $new_theme = wp_get_theme( $stylesheet ); 745 745 $template = $new_theme->get_template(); 746 747 if ( wp_is_recovery_mode() ) { 748 $paused_themes = wp_paused_themes(); 749 $paused_themes->delete( $old_theme->get_stylesheet() ); 750 $paused_themes->delete( $old_theme->get_template() ); 751 } 746 752 747 753 update_option( 'template', $template );
Note: See TracChangeset
for help on using the changeset viewer.