Changeset 25441 for trunk/src/wp-admin/includes/dashboard.php
- Timestamp:
- 09/14/2013 07:30:44 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/dashboard.php
r25298 r25441 1227 1227 ); 1228 1228 1229 $response = wp_remote_post( 'http://api.wordpress.org/core/browse-happy/1. 0/', $options );1229 $response = wp_remote_post( 'http://api.wordpress.org/core/browse-happy/1.1/', $options ); 1230 1230 1231 1231 if ( is_wp_error( $response ) || 200 != wp_remote_retrieve_response_code( $response ) ) … … 1243 1243 * 'img_src_ssl' - string - An image (over SSL) representing the browser 1244 1244 */ 1245 $response = maybe_unserialize( wp_remote_retrieve_body( $response ));1245 $response = json_decode( wp_remote_retrieve_body( $response ), true ); 1246 1246 1247 1247 if ( ! is_array( $response ) )
Note: See TracChangeset
for help on using the changeset viewer.