[wp-trac] [WordPress Trac] #29405: filesystem ssh2 move function parameter bug

WordPress Trac noreply at wordpress.org
Wed Aug 27 22:07:46 UTC 2014


#29405: filesystem ssh2 move function parameter bug
----------------------------------------+-----------------------------
 Reporter:  nobleclem                   |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  Filesystem API              |     Version:  2.8
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch commit 4.1-early  |     Focuses:
----------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * keywords:  has-patch => has-patch commit 4.1-early
 * version:  3.9.2 => 2.8
 * milestone:  Awaiting Review => Future Release


Comment:

 Appears to be missed in [8852] and [11063].

 The first parameter passed to [http://php.net/manual/en/function.ssh2
 -sftp-rename.php ssh2_sftp_rename()] should be an SSH2 SFTP resource
 opened by [http://php.net/manual/en/function.ssh2-sftp.php ssh2_sftp()],
 which is `$this->sftp_link`, not `$this->link`. Looks good to me.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29405#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list