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
This commit is contained in:
Dion Hulse 2013-09-24 07:16:09 +00:00
parent 65caf043c0
commit 7669224311
1 changed files with 1 additions and 1 deletions

View File

@ -1439,7 +1439,7 @@ class WP_Automatic_Upgrader {
static function upgrader_disabled() { static function upgrader_disabled() {
// That's a no if you don't want files changes // 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; 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