Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #51742, comment 43


Ignore:
Timestamp:
11/13/2020 07:47:01 AM (4 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51742, comment 43

    initial v1  
    22> Consider adding a string for when major auto-updates are on but minor ones are off - IMO this is a strange and non-ideal thing to do, but is technically possible...
    33
    4 Yeah, this doesn't make sense even though it's been technically possible. Logically, when turning major updates on, it should set minor updates to on too, i.e. enabling major updates will override minor updates to always "on".
     4Yeah, this doesn't make sense even though it's been technically possible. Logically, when turning major updates on, it should override minor updates to always "on".
    55
    66This is the same case as when `beta` or `rc` are set in the `WP_AUTO_UPDATE_CORE` constant, see: https://core.trac.wordpress.org/browser/trunk/src/wp-admin/includes/class-core-upgrader.php#L287. So instead of adding a string, lets "fix" the logic there. True, this is a change (a logic enhancement?) to how the various "global" auto-update filters and constants work, but thinking now is the time to fix it.