Changeset 30920
- Timestamp:
- 12/16/2014 07:53:57 PM (10 years ago)
- Location:
- branches/4.1
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.1
-
branches/4.1/src/wp-admin/includes/class-wp-upgrader.php
r30870 r30920 2077 2077 'fs_method' => $wp_filesystem->method, 2078 2078 'fs_method_forced' => defined( 'FS_METHOD' ) || has_filter( 'filesystem_method' ), 2079 'fs_method_direct' => !empty( $GLOBALS['_wp_filesystem_direct_method'] ) ? $GLOBALS['_wp_filesystem_direct_method'] : '', 2079 2080 'time_taken' => time() - $start_time, 2080 2081 'reported' => $wp_version, -
branches/4.1/src/wp-admin/includes/file.php
r30753 r30920 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.