mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-27 18:16:08 +00:00
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:
parent
42155c8d7f
commit
ee489a2e81
@ -1585,9 +1585,9 @@ class WP_Automatic_Updater {
|
|||||||
return true;
|
return true;
|
||||||
|
|
||||||
// More fine grained control can be done through the WP_AUTO_UPDATE_CORE constant and filters.
|
// 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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user