Changeset 14074
- Timestamp:
- 04/11/2010 05:07:20 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r14066 r14074 1009 1009 */ 1010 1010 function maybe_serialize( $data ) { 1011 if ( !is_scalar( $data ) ) 1011 if ( is_array( $data ) || is_object( $data ) ) 1012 return serialize( $data ); 1013 1014 if ( is_serialized( $data ) ) 1012 1015 return serialize( $data ); 1013 1016
Note: See TracChangeset
for help on using the changeset viewer.