[wp-trac] [WordPress Trac] #58541: WP_Filesystem_SSH2:put_contents (and others) does not check for $sftp_link to be up

WordPress Trac noreply at wordpress.org
Thu Nov 21 23:37:34 UTC 2024


#58541: WP_Filesystem_SSH2:put_contents (and others) does not check for $sftp_link
to be up
-------------------------------------------------+-------------------------
 Reporter:  jobst                                |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Filesystem API                       |     Version:
 Severity:  major                                |  Resolution:
 Keywords:  dev-feedback has-patch needs-        |     Focuses:
  testing changes-requested                      |
-------------------------------------------------+-------------------------

Comment (by abigaillaufer):

 @costdev

 Following this ticket as well.   We have run into this issue in
 conjunction with the Kirki Framework.   The patch provided here is the
 only thing that resolves the problem for us.   However, this month WP team
 has twice pushed out new versions of class-wp-filesystem-ssh2.php, which
 end up overwriting the patched version.  We're hoping to discover when
 this patch will be integrated into the WP core?  We don't like having to
 alter WP core files, but in this case we have no choice.  Thanks for any
 updates!

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


More information about the wp-trac mailing list