[wp-trac] [WordPress Trac] #49943: Async Site Health tests can throw PHP notices

WordPress Trac noreply at wordpress.org
Tue Jun 9 11:26:09 UTC 2020


#49943: Async Site Health tests can throw PHP notices
-------------------------------------------------+-------------------------
 Reporter:  schlessera                           |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.5
Component:  Site Health                          |     Version:  5.4
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch good-first-bug fixed-      |     Focuses:
  major                                          |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"47931" 47931]:
 {{{
 #!CommitTicketReference repository="" revision="47931"
 Site Health: Avoid a PHP notice in
 `WP_Site_Health::wp_cron_scheduled_check()` if async test response does
 not contain the expected result.

 Additionally, avoid a PHP notice in `::get_test_php_version()` if the
 minimum recommended version of PHP could not be determined.

 Props schlessera, oakesjosh.
 Merges [47628] to the 5.4 branch.
 Fixes #49943.
 }}}

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


More information about the wp-trac mailing list