Opened 14 years ago
Closed 14 years ago
#15057 closed defect (bug) (wontfix)
Is the double serialization in maybe_serialize( ) intentional ?
Reported by: | DrLightman | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0.1 |
Component: | General | Keywords: | double, serialization |
Focuses: | Cc: |
Description
function maybe_serialize( $data ) { if ( is_array( $data ) || is_object( $data ) ) return serialize( $data ); if ( is_serialized( $data ) ) return serialize( $data ); return $data; }
if ( is_serialized( $data ) ) return serialize( $data );
It creeps me out :)
Change History (3)
Note: See
TracTickets for help on using
tickets.
What does SVN blame say on that line of code?