WordPress.org

Make WordPress Core

Ticket #16597: 16597.patch

File 16597.patch, 484 bytes (added by SergeyBiryukov, 4 years ago)
  • wp-includes/functions.php

     
    10371037        if ( is_array( $data ) || is_object( $data ) ) 
    10381038                return serialize( $data ); 
    10391039 
     1040        // Double serialization is required for backward compatibility. 
     1041        // See http://core.trac.wordpress.org/ticket/12930 
    10401042        if ( is_serialized( $data ) ) 
    10411043                return serialize( $data ); 
    10421044