From e4a523977f211e6ceb811735c76078ca7e23be85 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Tue, 24 Sep 2013 07:15:58 +0000 Subject: [PATCH] Automatic Updates: Correct a typo of a constant, s/DISABLE_FILE_MODS/DISALLOW_FILE_MODS/. See #22704 git-svn-id: https://develop.svn.wordpress.org/trunk@25599 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-upgrader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/class-wp-upgrader.php b/src/wp-admin/includes/class-wp-upgrader.php index 98e979d074..a59d39bf19 100644 --- a/src/wp-admin/includes/class-wp-upgrader.php +++ b/src/wp-admin/includes/class-wp-upgrader.php @@ -1439,7 +1439,7 @@ class WP_Automatic_Upgrader { static function upgrader_disabled() { // That's a no if you don't want files changes - if ( defined( 'DISABLE_FILE_MODS' ) && DISABLE_FILE_MODS ) + if ( defined( 'DISALLOW_FILE_MODS' ) && DISALLOW_FILE_MODS ) return true; // More fine grained control can be done through the WP_AUTO_UPDATE_CORE constant and filters