Make WordPress Core


Ignore:
Timestamp:
06/10/2011 06:22:33 AM (14 years ago)
Author:
nacin
Message:

Extra check for partial updates: Make sure the API response matches the current version of WP. see #10611.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/update.php

    r18226 r18227  
    9292                $offer[ $offer_key ] = esc_html( $value );
    9393        }
    94         $offer = (object) array_intersect_key( $offer, array_fill_keys( array( 'response', 'download',
    95             'locale', 'packages', 'current', 'php_version', 'mysql_version', 'new_bundled' ), '' ) );
     94        $offer = (object) array_intersect_key( $offer, array_fill_keys( array( 'response', 'download', 'locale',
     95            'packages', 'current', 'php_version', 'mysql_version', 'new_bundled', 'partial_version' ), '' ) );
    9696    }
    9797
Note: See TracChangeset for help on using the changeset viewer.