Changeset 33648
- Timestamp:
- 08/19/2015 12:37:56 PM (9 years ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-filesystem-ftpext.php
r32923 r33648 283 283 */ 284 284 public function exists($file) { 285 $list = @ftp_ nlist($this->link, $file);285 $list = @ftp_rawlist( $this->link, '-a ' . $file ); 286 286 287 287 if ( empty( $list ) && $this->is_dir( $file ) ) { -
trunk/src/wp-admin/includes/class-wp-filesystem-ftpsockets.php
r33639 r33648 291 291 */ 292 292 public function exists( $file ) { 293 $list = $this->ftp-> nlist( $file);293 $list = $this->ftp->rawlist( $file, '-a' ); 294 294 295 295 if ( empty( $list ) && $this->is_dir( $file ) ) {
Note: See TracChangeset
for help on using the changeset viewer.