Changeset 47814 for trunk/src/wp-admin/includes/class-plugin-upgrader.php
- Timestamp:
- 05/17/2020 09:37:12 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-plugin-upgrader.php
r47414 r47814 554 554 // If plugin is in its own directory, recursively delete the directory. 555 555 // Base check on if plugin includes directory separator AND that it's not the root plugin folder. 556 if ( strpos( $plugin, '/' ) && $this_plugin_dir != $plugins_dir ) {556 if ( strpos( $plugin, '/' ) && $this_plugin_dir !== $plugins_dir ) { 557 557 $deleted = $wp_filesystem->delete( $this_plugin_dir, true ); 558 558 } else {
Note: See TracChangeset
for help on using the changeset viewer.