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

WordPress Trac noreply at wordpress.org
Mon Apr 27 21:59:25 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:  needs-patch good-first-bug  |     Focuses:
----------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"47628" 47628]:
 {{{
 #!CommitTicketReference repository="" revision="47628"
 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.
 Fixes #49943.
 }}}

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


More information about the wp-trac mailing list