[wp-trac] [WordPress Trac] #28707: Expand WP_AUTO_UPDATE_CORE option to automatically do major+minor updates
WordPress Trac
noreply at wordpress.org
Tue Jul 1 21:11:10 UTC 2014
#28707: Expand WP_AUTO_UPDATE_CORE option to automatically do major+minor updates
-----------------------------+-----------------------------
Reporter: lovingboth | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version: 3.9.1
Severity: normal | Keywords:
Focuses: |
-----------------------------+-----------------------------
At the moment, there are three options for the WP_AUTO_UPDATE_CORE
constant:
true - updates to dev, major and minor releases
'minor' - updates to minor releases (only)
false - does no automatic updates.
There should be a fourth option to allow auto updating to major as well as
minor releases. This would give auto updates to all '''tested''' releases,
but not the less tested beta / release candidates.
It is possible to do this by adding an allow_major_auto_core_updates
filter, and the [http://wordpress.org/plugins/background-updates-for-
major-releases/ Background Updates For Major Releases] plugin does this.
But it would be better to have this as configuration option too.
Adding 'major' as an option tested in wp-admin/includes/class-wp-
upgrader.php is easy and simple (see attached diff file).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28707>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list