Make WordPress Core


Ignore:
Timestamp:
05/31/2011 07:58:36 PM (13 years ago)
Author:
ryan
Message:

s/seperator/separator/. Props brandonburke. fixes #17610

File:
1 edited

Legend:

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

    r17617 r18084  
    703703        $this_plugin_dir = trailingslashit( dirname($plugins_dir . $plugin_file) );
    704704        // If plugin is in its own directory, recursively delete the directory.
    705         if ( strpos($plugin_file, '/') && $this_plugin_dir != $plugins_dir ) //base check on if plugin includes directory seperator AND that its not the root plugin folder
     705        if ( strpos($plugin_file, '/') && $this_plugin_dir != $plugins_dir ) //base check on if plugin includes directory separator AND that its not the root plugin folder
    706706            $deleted = $wp_filesystem->delete($this_plugin_dir, true);
    707707        else
Note: See TracChangeset for help on using the changeset viewer.