[wp-trac] [WordPress Trac] #50912: Site Health flags define WP_AUTO_UPDATE_CORE value as an error

WordPress Trac noreply at wordpress.org
Mon Aug 17 01:02:59 UTC 2020


#50912: Site Health flags define WP_AUTO_UPDATE_CORE value as an error
--------------------------------+-----------------------------
 Reporter:  sterndata           |       Owner:  SergeyBiryukov
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:  5.5.1
Component:  Site Health         |     Version:  5.5
 Severity:  normal              |  Resolution:  fixed
 Keywords:  commit fixed-major  |     Focuses:
--------------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"48804" 48804]:
 {{{
 #!CommitTicketReference repository="" revision="48804"
 Site Health: Recognize `define( 'WP_AUTO_UPDATE_CORE', 'minor' )` as an
 acceptable value.

 Previously, it was only incidentally recognized as valid due to a loose
 comparison with `true`.

 With the strict comparison added to
 `WP_Site_Health_Auto_Updates::test_constants()`, this was no longer the
 case.

 Follow-up to [47841].

 Props sterndata, mukesh27, avixansa, desrosj, SergeyBiryukov.
 Merges [48792] to the 5.5 branch.
 Fixes #50912.
 }}}

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


More information about the wp-trac mailing list