[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 18:33:37 UTC 2021


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

Comment (by Clorith):

 To me it makes more sense if the check for the function, and loading of
 dependencies, happened in `request_filesystem_credentials`. This would
 also make that function a bit more REST-friendly for other purposes
 without needing to load deep dependencies in "irrelevant" places.

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


More information about the wp-trac mailing list