Make WordPress Core


Ignore:
Timestamp:
02/20/2008 12:15:55 AM (17 years ago)
Author:
ryan
Message:

fs direct fixes from DD32. see #5586

File:
1 edited

Legend:

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

    r6779 r6920  
    179179
    180180    // If plugin is in its own directory, recursively delete the directory.
    181     if ( '.' != $plugin_dir )
     181    if ( '.' != $plugin_dir && ABSPATH . PLUGINDIR != $plugin_dir )
    182182        $wp_filesystem->delete($plugin_dir, true);
    183183
Note: See TracChangeset for help on using the changeset viewer.