Changeset 15156
- Timestamp:
- 06/07/2010 11:19:51 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/file.php
r15130 r15156 607 607 if ( untrailingslashit($to) == $dir ) // Skip over the working directory, We know this exists (or will exist) 608 608 continue; 609 if ( strpos($dir, $to) === false ) // If the directory is not within the working directory, Skip it 610 continue; 609 611 610 612 $parent_folder = dirname($dir); … … 685 687 // Check the parent folders of the folders all exist within the creation array. 686 688 if ( untrailingslashit($to) == $dir ) // Skip over the working directory, We know this exists (or will exist) 689 continue; 690 if ( strpos($dir, $to) === false ) // If the directory is not within the working directory, Skip it 687 691 continue; 688 692
Note: See TracChangeset
for help on using the changeset viewer.