WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/03/2013 03:21:59 AM (6 years ago)
Author:
dd32
Message:

Core Updates: Switch to using a new 1.7 version check API which will return extra auto-update packages when requested over SSL. The new API has switched to returning JSON. See #22704

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/update-core.php

    r25099 r25219  
    2525    global $wp_local_package, $wpdb;
    2626    static $first_pass = true;
     27
     28    // Don't show auto-updates in the updates page
     29    if ( isset( $update->response ) && 'autoupdate' == $update->response )
     30        return;
    2731
    2832    $version_string = ('en_US' == $update->locale && 'en_US' == get_locale() ) ?
Note: See TracChangeset for help on using the changeset viewer.