Revert [5102]
git-svn-id: http://svn.automattic.com/wordpress/trunk@5109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ee5f8a4944
commit
ee323a457b
|
@ -404,7 +404,7 @@ function maybe_serialize($data) {
|
|||
$data = trim($data);
|
||||
elseif ( is_array($data) || is_object($data) )
|
||||
return serialize($data);
|
||||
if ( !is_serialized($data) )
|
||||
if ( is_serialized($data) )
|
||||
return serialize($data);
|
||||
return $data;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue