Enable wpfs auto selection. Props DD32. seee #5586
git-svn-id: http://svn.automattic.com/wordpress/trunk@7414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
13d4f1226e
commit
3b9c0f73d5
|
@ -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…
Reference in New Issue