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:
Andrew Nacin 2015-05-08 16:26:13 +00:00
parent 733e06315a
commit df717e8294
1 changed files with 1 additions and 0 deletions

View File

@ -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 );