[wp-trac] [WordPress Trac] #17375: Serialzed option values broken for classes with Serializeable interface
WordPress Trac
wp-trac at lists.automattic.com
Wed May 11 11:42:10 UTC 2011
#17375: Serialzed option values broken for classes with Serializeable interface
--------------------------+-----------------------------
Reporter: hakre | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.1
Severity: normal | Keywords: has-patch
--------------------------+-----------------------------
Wordpress has a feature build in to store arrays and objects into option
values.
This is done by transparently serializing on storing and unserialize on
retrieving.
The implementation is broken.
Wordpress is unable to unserialize serialized option values if they
contain a serialized representation of classes implementing the
[http://www.php.net/manual/en/class.serializable.php PHP serializeable
interface] (C instead of O).
This is because the is_serialized() does not recorgnize that type of
value.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17375>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list