[wp-trac] [WordPress Trac] #51818: Invalid value in foreach in debug_data()

WordPress Trac noreply at wordpress.org
Wed Nov 18 17:26:30 UTC 2020


#51818: Invalid value in foreach in debug_data()
---------------------------+---------------------
 Reporter:  paulschreiber  |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  5.7
Component:  Site Health    |     Version:  5.2
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:
---------------------------+---------------------
Changes (by SergeyBiryukov):

 * keywords:   => needs-patch
 * version:   => 5.2
 * component:  General => Site Health
 * milestone:  Awaiting Review => 5.7


Comment:

 Thanks for the report! Introduced in [44986] / #46573.

 Yes, since `get_core_updates()` returns `false` on failure, it makes sense
 to account for that value as well.

 Moving to 5.7, as 5.6 is already in RC stage, and this does not appear to
 be a recent regression.

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


More information about the wp-trac mailing list