[wp-trac] [WordPress Trac] #53206: Fatal error in Site Health test_check_wp_filesystem_method when using other FS_METHOD than direct

WordPress Trac noreply at wordpress.org
Mon May 24 19:23:19 UTC 2021


#53206: Fatal error in Site Health test_check_wp_filesystem_method when using other
FS_METHOD than direct
------------------------------+-----------------------------
 Reporter:  lakrisgubben      |       Owner:  SergeyBiryukov
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  5.8
Component:  Site Health       |     Version:  5.6
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"50979" 50979]:
 {{{
 #!CommitTicketReference repository="" revision="50979"
 Site Health: Make sure the `submit_button()` function is available in
 `request_filesystem_credentials()`.

 This avoids a fatal error when the function is called via REST API from
 `WP_Site_Health_Auto_Updates::test_check_wp_filesystem_method()`.

 Props lakrisgubben, mukesh27, Clorith, SergeyBiryukov.
 Fixes #53206.
 }}}

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


More information about the wp-trac mailing list