Changeset 28904
- Timestamp:
- 06/29/2014 10:15:10 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-filesystem-base.php
r28529 r28904 96 96 $folder = $this->find_folder(ABSPATH); 97 97 // Perhaps the FTP folder is rooted at the WordPress install, Check for wp-includes folder in root, Could have some false positives, but rare. 98 if ( ! $folder && $this->is_dir( '/wp-includes') )98 if ( ! $folder && $this->is_dir( '/' . WPINC ) ) 99 99 $folder = '/'; 100 100 return $folder;
Note: See TracChangeset
for help on using the changeset viewer.