Pinking Shears.

See #30799.


git-svn-id: https://develop.svn.wordpress.org/trunk@31077 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2015-01-08 05:02:05 +00:00
parent 621292d70f
commit 469164785f
6 changed files with 6 additions and 6 deletions

View File

@@ -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';