Changeset 17926 for trunk/wp-admin/includes/class-wp-filesystem-direct.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-direct.php
r17771 r17926 20 20 * constructor 21 21 * 22 * @param mixed $arg i ngored argument22 * @param mixed $arg ignored argument 23 23 */ 24 24 function __construct($arg) { … … 223 223 if ( empty($file) ) //Some filesystems report this as /, which can cause non-expected recursive deletion of all files in the filesystem. 224 224 return false; 225 $file = str_replace('\\', '/', $file); //for win32, occasional problems delet eing files otherwise225 $file = str_replace('\\', '/', $file); //for win32, occasional problems deleting files otherwise 226 226 227 227 if ( 'f' == $type || $this->is_file($file) )
Note: See TracChangeset
for help on using the changeset viewer.