Add a comment to maybe_serialize().
git-svn-id: https://develop.svn.wordpress.org/trunk@32458 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
733e06315a
commit
df717e8294
|
@ -381,6 +381,7 @@ function maybe_serialize( $data ) {
|
||||||
|
|
||||||
// Double serialization is required for backward compatibility.
|
// Double serialization is required for backward compatibility.
|
||||||
// See https://core.trac.wordpress.org/ticket/12930
|
// See https://core.trac.wordpress.org/ticket/12930
|
||||||
|
// Also the world will end. See WP 3.6.1.
|
||||||
if ( is_serialized( $data, false ) )
|
if ( is_serialized( $data, false ) )
|
||||||
return serialize( $data );
|
return serialize( $data );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue