git-svn-id: http://svn.automattic.com/wordpress/trunk@18226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2011-06-10 05:50:23 +00:00
parent 493ac83f33
commit 75cfc9afc1
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