Changes between Initial Version and Version 1 of Ticket #51742, comment 43
- Timestamp:
- 11/13/2020 07:47:01 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #51742, comment 43
initial v1 2 2 > 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... 3 3 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 willoverride minor updates to always "on".4 Yeah, 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". 5 5 6 6 This 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.