WordPress.org

Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #50912


Ignore:
Timestamp:
08/11/2020 10:52:46 PM (3 months ago)
Author:
SergeyBiryukov
Comment:

Hi there, thanks for the ticket!

At a glance, this seemed like a duplicate of #49923. Upon a closer look, however, that ticket is about the message displayed when WP_AUTO_UPDATE_CORE is set to false, and this one is about the value set to 'minor'.

Indeed it looks like before [47841], 'minor' was recognized as a valid value, due to a loose comparison with true. With the strict comparison, it's no longer recognized.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #50912

    • Property Keywords needs-patch added
    • Property Component changed from General to Site Health
    • Property Milestone changed from Awaiting Review to 5.5.1
  • Ticket #50912 – Description

    initial v2  
    33If this is in wp-config.php:
    44
    5 `define(‘WP_AUTO_UPDATE_CORE’, ‘minor’)`
     5`define('WP_AUTO_UPDATE_CORE', 'minor')`
    66
    77Site health reports
     
    1111According to the docs, 'minor' is a legit value for the constant.
    1212
    13 Note that changeset 47841 changed it from loose to a strict comparison...
     13Note that changeset [47841] changed it from loose to a strict comparison...