git-svn-id: https://develop.svn.wordpress.org/trunk@18226 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2011-06-10 05:50:23 +00:00
parent b2c50ddc56
commit c6876acffa
2 changed files with 6 additions and 4 deletions

View File

@ -84,13 +84,15 @@ function wp_version_check() {
foreach ( $offers as &$offer ) {
foreach ( $offer as $offer_key => $value ) {
if ( 'packages' == $offer_key )
$offer['packages'] = (object) array_intersect_key( array_map( 'esc_url', $offer['packages'] ), array_fill_keys( array( 'full', 'no_content', 'new_bundled', 'partial' ), '' ) );
$offer['packages'] = (object) array_intersect_key( array_map( 'esc_url', $offer['packages'] ),
array_fill_keys( array( 'full', 'no_content', 'new_bundled', 'partial' ), '' ) );
elseif ( 'download' == $offer_key )
$offer['download'] = esc_url( $value );
else
$offer[ $offer_key ] = esc_html( $value );
}
$offer = (object) array_intersect_key( $offer, array_fill_keys( array( 'response', 'download', 'locale', 'packages', 'current', 'php_version', 'mysql_version', 'new_bundled' ), '' ) );
$offer = (object) array_intersect_key( $offer, array_fill_keys( array( 'response', 'download',
'locale', 'packages', 'current', 'php_version', 'mysql_version', 'new_bundled' ), '' ) );
}
$updates = new stdClass();

View File

@ -4,14 +4,14 @@
*
* @global string $wp_version
*/
$wp_version = '3.2-beta2-18209';
$wp_version = '3.2-beta2-18226';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
*
* @global int $wp_db_version
*/
$wp_db_version = 18220;
$wp_db_version = 18226;
/**
* Holds the TinyMCE version