Pinking Shears.
See #30799. Built from https://develop.svn.wordpress.org/trunk@31077 git-svn-id: http://core.svn.wordpress.org/trunk@31058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -925,7 +925,7 @@ function get_filesystem_method( $args = array(), $context = false, $allow_relaxe
|
||||
}
|
||||
|
||||
if ( $wp_file_owner !== false && $wp_file_owner === $temp_file_owner ) {
|
||||
// WordPress is creating files as the same owner as the WordPress files,
|
||||
// WordPress is creating files as the same owner as the WordPress files,
|
||||
// this means it's safe to modify & create new files via PHP.
|
||||
$method = 'direct';
|
||||
$GLOBALS['_wp_filesystem_direct_method'] = 'file_owner';
|
||||
|
||||
Reference in New Issue
Block a user