Changeset 8009 for trunk/wp-admin/update.php
- Timestamp:
- 05/29/2008 05:29:32 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/update.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/update.php
r7999 r8009 111 111 } 112 112 113 $was_activated = is_plugin_active($plugin); //Check now, It'll be deactivated by the next line if it is ,113 $was_activated = is_plugin_active($plugin); //Check now, It'll be deactivated by the next line if it is 114 114 115 115 $result = wp_update_plugin($plugin, 'show_message'); … … 117 117 if ( is_wp_error($result) ) { 118 118 show_message($result); 119 show_message( __('Installation Failed') ); 119 120 } else { 120 121 //Result is the new plugin file relative to WP_PLUGIN_DIR 121 show_message( __('Plugin upgraded successfully'));122 show_message( __('Plugin upgraded successfully') ); 122 123 if( $result && $was_activated ){ 123 124 show_message(__('Attempting reactivation of the plugin'));
Note: See TracChangeset
for help on using the changeset viewer.