Ticket #17833: class-wp-upgrader.diff
File class-wp-upgrader.diff, 1.4 KB (added by , 13 years ago) |
---|
-
class-wp-upgrader.php
374 374 $this->strings['no_package'] = __('Update package not available.'); 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'] = __(' Deactivatingthe plugin…');377 $this->strings['deactivate_plugin'] = __('Turning off the plugin…'); 378 378 $this->strings['remove_old'] = __('Removing the old version of the plugin…'); 379 379 $this->strings['remove_old_failed'] = __('Could not remove the old plugin.'); 380 380 $this->strings['process_failed'] = __('Plugin update failed.'); … … 1106 1106 function after() { 1107 1107 $this->plugin = $this->upgrader->plugin_info(); 1108 1108 if ( !empty($this->plugin) && !is_wp_error($this->result) && $this->plugin_active ){ 1109 show_message(__(' Reactivatingthe plugin…'));1109 show_message(__('Turning on the plugin…')); 1110 1110 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>'; 1111 1111 } 1112 1112