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.
|
||||
// See https://core.trac.wordpress.org/ticket/12930
|
||||
// Also the world will end. See WP 3.6.1.
|
||||
if ( is_serialized( $data, false ) )
|
||||
return serialize( $data );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user