Make WordPress Core

Changeset 29970


Ignore:
Timestamp:
10/20/2014 07:45:52 AM (12 years ago)
Author:
dd32
Message:

Filesystem: Fix the move() method of the SSH2 transport, which was using the SSH2 link rather than the SFTP link.
Props nobleclem. Fixes #29405

File:
1 edited

Legend:

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

    r29206 r29970  
    255255
    256256        public function move($source, $destination, $overwrite = false) {
    257                 return @ssh2_sftp_rename($this->link, $source, $destination);
     257                return @ssh2_sftp_rename( $this->sftp_link, $source, $destination );
    258258        }
    259259
Note: See TracChangeset for help on using the changeset viewer.