WordPress.org

Make WordPress Core

Changeset 25851


Ignore:
Timestamp:
10/18/2013 09:23:43 PM (5 years ago)
Author:
nacin
Message:

Commit [25823] should not have renamed AUTOMATIC_UPDATER_DISABLED to AUTOMATIC_UPDATES_DISABLED.

The proper constant is AUTOMATIC_UPDATER_DISABLED. Keep the filter in line with that too.

see #22704.

Location:
trunk/src
Files:
2 edited

Legend:

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

    r25843 r25851  
    15861586
    15871587        // More fine grained control can be done through the WP_AUTO_UPDATE_CORE constant and filters.
    1588         $disabled = defined( 'AUTOMATIC_UPDATES_DISABLED' ) && AUTOMATIC_UPDATES_DISABLED;
    1589 
    1590         return apply_filters( 'automatic_updates_disabled', $disabled );
     1588        $disabled = defined( 'AUTOMATIC_UPDATER_DISABLED' ) && AUTOMATIC_UPDATER_DISABLED;
     1589
     1590        return apply_filters( 'automatic_updater_disabled', $disabled );
    15911591    }
    15921592
  • trunk/src/wp-includes/version.php

    r25850 r25851  
    55 * @global string $wp_version
    66 */
    7 $wp_version = '3.7-RC1-src';
     7$wp_version = '3.7-RC1-25851-src';
    88
    99/**
Note: See TracChangeset for help on using the changeset viewer.