Automatic Core Updates: Enable Core Automatic Updates for Security releases, Development nightly releases, and, Language packs. See #22704

For more information on Automatic Core Updates, See #22704 and http://wp.me/p2AvED-1Lo


Built from https://develop.svn.wordpress.org/trunk@25598


git-svn-id: http://core.svn.wordpress.org/trunk@25515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dion Hulse 2013-09-24 03:36:09 +00:00
parent c92da75985
commit 65caf043c0
1 changed files with 3 additions and 3 deletions

View File

@ -1291,8 +1291,8 @@ class Core_Upgrader extends WP_Upgrader {
$current_is_development_version = (bool) strpos( $wp_version, '-' );
// Defaults:
$upgrade_dev = false; // TODO Enable
$upgrade_minor = false; // TODO Enable
$upgrade_dev = true;
$upgrade_minor = true;
$upgrade_major = false;
// WP_AUTO_UPDATE_CORE = true (all), 'minor', false.
@ -1477,7 +1477,7 @@ class WP_Automatic_Upgrader {
// Next up, do we actually have it enabled for this type of update?
switch ( $type ) {
case 'language':
$upgrade = false; // TODO Enable
$upgrade = true;
break;
case 'core':
$upgrade = Core_Upgrader::should_upgrade_to_version( $item->current );