Make WordPress Core

Changeset 11821


Ignore:
Timestamp:
08/15/2009 08:31:06 AM (17 years ago)
Author:
azaozz
Message:

Fix WP_Filesystem_FTPext->exists(), props dd32, fixes #10060

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-filesystem-ftpext.php

    r11495 r11821  
    202202
    203203        function exists($file) {
    204                 $list = @ftp_rawlist($this->link, $file, false);
     204                $list = @ftp_nlist($this->link, $file);
    205205                return !empty($list); //empty list = no file, so invert.
    206206        }
Note: See TracChangeset for help on using the changeset viewer.