Changeset 45115
- Timestamp:
- 04/05/2019 03:32:31 PM (6 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin.php
r45114 r45115 767 767 unset( $current[ $key ] ); 768 768 } 769 } 770 771 if ( $do_blog && wp_is_recovery_mode() ) { 772 list( $extension ) = explode( '/', $plugin ); 773 wp_paused_plugins()->delete( $extension ); 769 774 } 770 775 -
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.