[wp-trac] [WordPress Trac] #58940: site-health.php page Fatal error on version: 6.3-RC2

WordPress Trac noreply at wordpress.org
Mon Jul 31 11:06:35 UTC 2023


#58940: site-health.php page Fatal error on version: 6.3-RC2
--------------------------------------+-----------------------------
 Reporter:  utsav72640                |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  6.3
Component:  Site Health               |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch needs-dev-note  |     Focuses:  administration
--------------------------------------+-----------------------------
Changes (by rajinsharwar):

 * keywords:  needs-testing has-patch => has-patch needs-dev-note


Comment:

 As far as I understand, this constant might not support all servers' ftp
 out there. So, what we can do is check if we have null **$this->link**,
 each time we call it. Also, in connect function, we can check if the
 hostname, username or password is empty or not, and return false, (Because
 we can't make a connection without any of these). Currently, we are only
 adding the errors in the error class if the hostname, username, or
 password is empty. PR added, any suggestions are greatly appreciated.

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


More information about the wp-trac mailing list