[wp-trac] Re: [WordPress Trac] #9663: is_serialized() should be
renamed to might_be_serialized();
WordPress Trac
wp-trac at lists.automattic.com
Tue May 26 11:34:53 GMT 2009
#9663: is_serialized() should be renamed to might_be_serialized();
--------------------------+-------------------------------------------------
Reporter: hakre | Owner: anonymous
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Charset | Version: 2.7.1
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Comment(by Denis-de-Bernardy):
Replying to [comment:4 vladimir_kolesnikov]:
> * strings are prefixed with length: s:3:"hi!", so it does not matter
what is inside the string since we know its size in bytes (+2 for
surrounding quotes).
With some characters, in some versions of php, the serialized string
length that gets returned is erroneous. I've seen this break quite a few
customer sites.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9663#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list