From 76692243115a837cf9469fa219d9ea1ebe5e48b2 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Tue, 24 Sep 2013 07:16:09 +0000 Subject: [PATCH] Automatic Updates: Correct a typo of a constant, s/DISABLE_FILE_MODS/DISALLOW_FILE_MODS/. See #22704 Built from https://develop.svn.wordpress.org/trunk@25599 git-svn-id: http://core.svn.wordpress.org/trunk@25516 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-upgrader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/class-wp-upgrader.php b/wp-admin/includes/class-wp-upgrader.php index 98e979d074..a59d39bf19 100644 --- a/wp-admin/includes/class-wp-upgrader.php +++ b/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