From d96b64c116151dc05206bc44e4a0c1eac79e3066 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 18 Oct 2013 21:23:43 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@25851 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-upgrader.php | 4 ++-- src/wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/includes/class-wp-upgrader.php b/src/wp-admin/includes/class-wp-upgrader.php index 39d231cf38..2cd064822f 100644 --- a/src/wp-admin/includes/class-wp-upgrader.php +++ b/src/wp-admin/includes/class-wp-upgrader.php @@ -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 ); } /** diff --git a/src/wp-includes/version.php b/src/wp-includes/version.php index e02bd58a9c..84dcc81d68 100644 --- a/src/wp-includes/version.php +++ b/src/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '3.7-RC1-src'; +$wp_version = '3.7-RC1-25851-src'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.