Make WordPress Core

Changeset 18807


Ignore:
Timestamp:
09/29/2011 02:23:26 AM (15 years ago)
Author:
markjaquith
Message:

Add note about why double-serialization is done. props SergeyBiryukov. fixes #16597

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r18752 r18807  
    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 );
Note: See TracChangeset for help on using the changeset viewer.