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

WordPress Trac noreply at wordpress.org
Tue Aug 1 16:05:38 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:
 Severity:  normal                       |  Resolution:
 Keywords:  reporter-feedback has-patch  |     Focuses:  administration
-----------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 In [changeset:"56341" 56341]:
 {{{
 #!CommitTicketReference repository="" revision="56341"
 Upgrade/Install: Pass stored credentials to `WP_Filesystem()` where
 appropriate.

 With the introduction of temporary backups of plugins and themes before
 updating, a new Site Health test was added to verify that plugin and theme
 temporary backup directories are writable or can be created.

 When using a non-direct filesystem, the Site Health test did not include
 the required credentials, leading to a fatal error as the connection was
 not initialized properly.

 This commit attemps to use the stored credentials if available, and
 displays a message otherwise.

 Includes a similar fix in a function that performs a cleanup of the
 temporary backup directory.

 Follow-up to [55720].

 Props utsav72640, rajinsharwar, costdev, mukesh27, peterwilsoncc,
 audrasjb, SergeyBiryukov.
 See #58940.
 }}}

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


More information about the wp-trac mailing list