Make WordPress Core


Ignore:
Timestamp:
05/11/2017 07:23:45 PM (9 years ago)
Author:
swissspidy
Message:

Upgrade/Install: After [40394], rename wp_disallow_file_mods() to wp_is_file_mod_allowed().

This makes it more clear what this function is about.

Props Mte90.
Fixes #38673.

File:
1 edited

Legend:

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

    r40394 r40638  
    3232        public function is_disabled() {
    3333                // Background updates are disabled if you don't want file changes.
    34                 if ( wp_disallow_file_mods( 'automatic_updater' ) )
     34                if ( ! wp_is_file_mod_allowed( 'automatic_updater' ) )
    3535                        return true;
    3636
Note: See TracChangeset for help on using the changeset viewer.