Index: theme.php
===================================================================
--- theme.php (http://develop.svn.wordpress.org/trunk/src/wp-admin/includes/theme.php) (revision 25946)
+++ theme.php (.../theme.php) (working copy)
@@ -282,7 +282,7 @@
$res = apply_filters('themes_api', false, $action, $args); //NOTE: Allows a theme to completely override the builtin WordPress.org API.
if ( ! $res ) {
- $url = 'http://api.wordpress.org/themes/info/1.0/';
+ $url = 'http://api.wordpress.org/themes/info/1.1/';
if ( wp_http_supports( array( 'ssl' ) ) )
$url = set_url_scheme( $url, 'https' );
@@ -296,7 +296,7 @@
if ( is_wp_error($request) ) {
$res = new WP_Error('themes_api_failed', __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.' ), $request->get_error_message() );
} else {
- $res = maybe_unserialize( wp_remote_retrieve_body( $request ) );
+ $res = json_decode( wp_remote_retrieve_body( $request ) );
if ( ! is_object( $res ) && ! is_array( $res ) )
$res = new WP_Error('themes_api_failed', __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.' ), wp_remote_retrieve_body( $request ) );
}