Make WordPress Core

Ticket #7133: patch-r8069-7133-00.txt

File patch-r8069-7133-00.txt, 517 bytes (added by hakre, 17 years ago)

Patch so solve the Problem

Line 
1Index: C:/data/htdocs/wordpress/wp-includes/functions.php
2===================================================================
3--- C:/data/htdocs/wordpress/wp-includes/functions.php  (revision 8075)
4+++ C:/data/htdocs/wordpress/wp-includes/functions.php  (working copy)
5@@ -404,7 +404,7 @@
6 
7 function maybe_serialize( $data ) {
8        if ( is_string( $data ) )
9-               $data = trim( $data );
10+               return $data;
11        elseif ( is_array( $data ) || is_object( $data ) )
12                return serialize( $data );
13        if ( is_serialized( $data ) )