Changeset 30860 for trunk/src/wp-admin/includes/file.php
- Timestamp:
- 12/15/2014 02:07:35 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/file.php
r30753 r30860 929 929 // this means it's safe to modify & create new files via PHP. 930 930 $method = 'direct'; 931 $GLOBALS['_wp_filesystem_direct_method'] = 'file_owner'; 931 932 } else if ( $allow_relaxed_file_ownership ) { 932 933 // The $context directory is writable, and $allow_relaxed_file_ownership is set, this means we can modify files 933 934 // safely in this directory. This mode doesn't create new files, only alter existing ones. 934 935 $method = 'direct'; 936 $GLOBALS['_wp_filesystem_direct_method'] = 'relaxed_ownership'; 935 937 } 936 938
Note: See TracChangeset
for help on using the changeset viewer.