Commit [25823] should not have renamed AUTOMATIC_UPDATER_DISABLED to AUTOMATIC_UPDATES_DISABLED.

The proper constant is AUTOMATIC_UPDATER_DISABLED. Keep the filter in line with that too.

see #22704.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2013-10-18 21:24:10 +00:00
parent 42155c8d7f
commit ee489a2e81
2 changed files with 3 additions and 3 deletions

View File

@ -1585,9 +1585,9 @@ class WP_Automatic_Updater {
return true;
// More fine grained control can be done through the WP_AUTO_UPDATE_CORE constant and filters.
$disabled = defined( 'AUTOMATIC_UPDATES_DISABLED' ) && AUTOMATIC_UPDATES_DISABLED;
$disabled = defined( 'AUTOMATIC_UPDATER_DISABLED' ) && AUTOMATIC_UPDATER_DISABLED;
return apply_filters( 'automatic_updates_disabled', $disabled );
return apply_filters( 'automatic_updater_disabled', $disabled );
}
/**

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '3.7-RC1';
$wp_version = '3.7-RC1-25851';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.