WordPress.org

Make WordPress Core

Changeset 25599


Ignore:
Timestamp:
09/24/2013 07:15:58 AM (5 years ago)
Author:
dd32
Message:

Automatic Updates: Correct a typo of a constant, s/DISABLE_FILE_MODS/DISALLOW_FILE_MODS/. See #22704

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-upgrader.php

    r25598 r25599  
    14401440    static function upgrader_disabled() {
    14411441        // That's a no if you don't want files changes
    1442         if ( defined( 'DISABLE_FILE_MODS' ) && DISABLE_FILE_MODS )
     1442        if ( defined( 'DISALLOW_FILE_MODS' ) && DISALLOW_FILE_MODS )
    14431443            return true;
    14441444
Note: See TracChangeset for help on using the changeset viewer.