[wp-trac] [WordPress Trac] #18488: set_transient crashes when value parameter is a SimpleXMLElement object
WordPress Trac
wp-trac at lists.automattic.com
Sun Aug 26 22:27:28 UTC 2012
#18488: set_transient crashes when value parameter is a SimpleXMLElement object
-------------------------+------------------------------
Reporter: bobbingwide | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: Cache | Version: 3.2.1
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+------------------------------
Comment (by nacin):
"mixed" is a formal term used by PHP, phpdoc, etc. See
http://us.php.net/manual/en/language.pseudo-
types.php#language.types.mixed.
We should simply add a note that the argument must be serializable if non-
scalar. (Obviously, a scalar value is serializable, but I don't want
someone to read the doc and get the idea that we serialize scalar values.)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18488#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list