- Timestamp:
- 07/17/2014 09:13:53 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-filesystem-base.php
r29165 r29206 309 309 continue; // We want this to be caught by the next code block. 310 310 311 // Working from /home/ to /user/ to /wordpress/ see if that file exists within the current folder, 312 // If it's found, change into it and follow through looking for it. 313 // If it cant find WordPress down that route, it'll continue onto the next folder level, and see if that matches, and so on. 314 // If it reaches the end, and still cant find it, it'll return false for the entire function. 311 /* 312 * Working from /home/ to /user/ to /wordpress/ see if that file exists within 313 * the current folder, If it's found, change into it and follow through looking 314 * for it. If it cant find WordPress down that route, it'll continue onto the next 315 * folder level, and see if that matches, and so on. If it reaches the end, and still 316 * cant find it, it'll return false for the entire function. 317 */ 315 318 if ( isset($files[ $key ]) ){ 319 316 320 // Lets try that folder: 317 321 $newdir = trailingslashit(path_join($base, $key)); 318 322 if ( $this->verbose ) 319 323 printf( "\n" . __('Changing to %s') . "<br/>\n", $newdir ); 320 // only search for the remaining path tokens in the directory, not the full path again 324 325 // Only search for the remaining path tokens in the directory, not the full path again. 321 326 $newfolder = implode( '/', array_slice( $folder_parts, $index + 1 ) ); 322 327 if ( $ret = $this->search_for_folder( $newfolder, $newdir, $loop) )
Note: See TracChangeset
for help on using the changeset viewer.