mirror of
git://develop.git.wordpress.org/
synced 2025-02-25 00:52:55 +01:00
Enable wpfs auto selection. Props DD32. seee #5586
git-svn-id: https://develop.svn.wordpress.org/trunk@7414 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2b6119cd60
commit
e6c6a44a6c
@ -313,8 +313,6 @@ function WP_Filesystem( $args = false, $preference = false ) {
|
||||
}
|
||||
|
||||
function get_filesystem_method() {
|
||||
return 'ftpsockets';
|
||||
|
||||
$tempFile = tempnam(get_temp_dir(), 'WPU');
|
||||
|
||||
if ( getmyuid() == fileowner($tempFile) ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user