Make WordPress Core


Ignore:
Timestamp:
04/27/2012 03:57:51 PM (14 years ago)
Author:
nacin
Message:

Use maybe_serialize() where appropriate. fixes #19617.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/dashboard.php

    r20609 r20612  
    12131213         *  'img_src_ssl' - string - An image (over SSL) representing the browser
    12141214         */
    1215         $response = unserialize( wp_remote_retrieve_body( $response ) );
    1216 
    1217         if ( ! $response )
     1215        $response = maybe_unserialize( wp_remote_retrieve_body( $response ) );
     1216
     1217        if ( ! is_array( $response ) )
    12181218            return false;
    12191219
Note: See TracChangeset for help on using the changeset viewer.