[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 20:42:07 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:  needs-patch  |
-------------------------+------------------------------

Comment (by scribu):

 As for SimpleXMLElement_to_stdClass(), it shouldn't be inside
 set_transient(). At most, it should be a helper you call manually before
 passing the value to set_transient(), but I'm not convinced it needs to be
 included in Core.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18488#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list