Make WordPress Core


Ignore:
Timestamp:
05/29/2008 05:29:32 PM (18 years ago)
Author:
ryan
Message:

Make WP_Filesystem work with new directory constants. Props DD32. fixes #7059

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/update.php

    r7999 r8009  
    111111    }
    112112
    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
    114114
    115115    $result = wp_update_plugin($plugin, 'show_message');
     
    117117    if ( is_wp_error($result) ) {
    118118        show_message($result);
     119        show_message( __('Installation Failed') );
    119120    } else {
    120121        //Result is the new plugin file relative to WP_PLUGIN_DIR
    121         show_message(__('Plugin upgraded successfully'));   
     122        show_message( __('Plugin upgraded successfully') );
    122123        if( $result && $was_activated ){
    123124            show_message(__('Attempting reactivation of the plugin'));
Note: See TracChangeset for help on using the changeset viewer.