Changeset 17926 for trunk/wp-admin/includes/class-wp-filesystem-base.php
- Timestamp:
- 05/14/2011 09:56:59 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-filesystem-base.php
r17579 r17926 22 22 var $verbose = false; 23 23 /** 24 * Cached list of local filepaths to map ed remote filepaths.24 * Cached list of local filepaths to mapped remote filepaths. 25 25 * 26 26 * @since 2.7 … … 216 216 } 217 217 218 //Only check this as a last resort, to prevent locating the incorrect install. All above proce eedures will fail quickly if this is the right branch to take.218 //Only check this as a last resort, to prevent locating the incorrect install. All above procedures will fail quickly if this is the right branch to take. 219 219 if (isset( $files[ $last_path ] ) ) { 220 220 if ( $this->verbose ) … … 223 223 } 224 224 if ( $loop ) 225 return false; //Prevent t ihs functionlooping again.225 return false; //Prevent this function from looping again. 226 226 //As an extra last resort, Change back to / if the folder wasnt found. This comes into effect when the CWD is /home/user/ but WP is at /var/www/.... mainly dedicated setups. 227 227 return $this->search_for_folder($folder, '/', true);
Note: See TracChangeset
for help on using the changeset viewer.