[wp-trac] [WordPress Trac] #62718: Automatic updater of WordPress always fails if FS_METHOD is ftpext since 6.6 with PHP 8.0+

WordPress Trac noreply at wordpress.org
Thu Apr 24 23:16:57 UTC 2025


#62718: Automatic updater of WordPress always fails if FS_METHOD is ftpext since
6.6 with PHP 8.0+
-------------------------------------------------+-------------------------
 Reporter:  hideishi                             |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.8.1
Component:  Upgrade/Install                      |     Version:  6.6
 Severity:  major                                |  Resolution:  fixed
 Keywords:  has-testing-info has-patch dev-      |     Focuses:
  feedback needs-testing                         |
-------------------------------------------------+-------------------------
Changes (by jorbin):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"60184" 60184]:
 {{{
 #!CommitTicketReference repository="" revision="60184"
 Upgrade/Install: Pass stored credentials to WP_Filesystem() in
 WP_Upgrader.

 When using a non-direct filesystem, the call in
 WP_Upgrader::maintenance_mode() did not include the required credentials,
 leading to a fatal error as the connection was not initialized properly.

 This commit attempts to use the stored credentials if available, and
 triggers a notice otherwise.

 Follow-up to [56341], [58128].

 Reviewed by jorbin.
 Merges [60107] to the 6.8 branch.

 Props SirLouen, hideishi, dd32, tusharaddweb, takuword, SergeyBiryukov.
 Fixes #62718.
 }}}

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


More information about the wp-trac mailing list