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

WordPress Trac noreply at wordpress.org
Fri Aug 14 20:37:57 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:  needs-patch   |     Focuses:
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

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

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


More information about the wp-trac mailing list