WordPress.org

Make WordPress Core

Ticket #5586: 5586.13.diff

File 5586.13.diff, 388 bytes (added by DD32, 13 years ago)
  • wp-admin/includes/file.php

     
    313331}
    314332
    315333function get_filesystem_method() {
    316         return 'ftpsockets';
    317 
    318334        $tempFile = tempnam(get_temp_dir(), 'WPU');
    319335
    320336        if ( getmyuid() == fileowner($tempFile) ) {