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
This commit is contained in:
Dion Hulse 2013-09-24 07:15:58 +00:00
parent c8251ec989
commit e4a523977f

View File

@ -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