Changeset 20786
- Timestamp:
- 05/14/2012 05:24:44 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-upgrader.php
r20695 r20786 375 375 $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>…'); 376 376 $this->strings['unpack_package'] = __('Unpacking the update…'); 377 $this->strings['deactivate_plugin'] = __('Deactivating the plugin…');378 377 $this->strings['remove_old'] = __('Removing the old version of the plugin…'); 379 378 $this->strings['remove_old_failed'] = __('Could not remove the old plugin.'); … … 598 597 599 598 if ( is_plugin_active($plugin) ) { 600 $this->skin->feedback('deactivate_plugin');601 599 //Deactivate the plugin silently, Prevent deactivation hooks from running. 602 600 deactivate_plugins($plugin, true); … … 1199 1197 $this->plugin = $this->upgrader->plugin_info(); 1200 1198 if ( !empty($this->plugin) && !is_wp_error($this->result) && $this->plugin_active ){ 1201 show_message(__('Reactivating the plugin…'));1202 1199 echo '<iframe style="border:0;overflow:hidden" width="100%" height="170px" src="' . wp_nonce_url('update.php?action=activate-plugin&networkwide=' . $this->plugin_network_active . '&plugin=' . $this->plugin, 'activate-plugin_' . $this->plugin) .'"></iframe>'; 1203 1200 }
Note: See TracChangeset
for help on using the changeset viewer.