WordPress.org

Make WordPress Core

Ticket #9549: 9549.diff

File 9549.diff, 576 bytes (added by Denis-de-Bernardy, 9 years ago)
  • Users/denis/Sites/sem-pro/wp-includes/functions.php

     
    226226 */
    227227function maybe_unserialize( $original ) {
    228228        if ( is_serialized( $original ) ) // don't attempt to unserialize data that wasn't serialized going in
    229                 if ( false !== $gm = @unserialize( $original ) )
    230                         return $gm;
     229                return @unserialize( $original );
    231230        return $original;
    232231}
    233232