Ticket #4029: maybe_serialize.diff
File maybe_serialize.diff, 426 bytes (added by , 18 years ago) |
---|
-
wp-includes/functions.php
404 404 $data = trim($data); 405 405 elseif ( is_array($data) || is_object($data) ) 406 406 return serialize($data); 407 if ( is_serialized($data) )407 if ( !is_serialized($data) ) 408 408 return serialize($data); 409 409 return $data; 410 410 }