Make WordPress Core

Changeset 25818


Ignore:
Timestamp:
10/16/2013 10:26:47 PM (13 years ago)
Author:
dd32
Message:

Allow the WordPress.org Language update API to disallow automated background updates for a specific language pack. See #18200

File:
1 edited

Legend:

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

    r25817 r25818  
    16241624                switch ( $type ) {
    16251625                        case 'language':
    1626                                 $upgrade = true;
     1626                                $upgrade = ! empty( $item->autoupdate );;
    16271627                                break;
    16281628                        case 'core':
Note: See TracChangeset for help on using the changeset viewer.