[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 21 02:20:54 UTC 2011


#18488: set_transient crashes when value parameter is a SimpleXMLElement object
--------------------------+------------------------------
 Reporter:  bobbingwide   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Cache         |     Version:  3.2.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by azaozz):

 Replying to [comment:4 bobbingwide]:
 > ... Are core functions supposed to crash when passed invalid parameters?

 Most functions in all software applications would "crash" if passed
 invalid parameters.

 > Who should be updating the codex to document certain limitations?

 The codex is a wiki, feel free to drop a note there :) despite that this
 is a PHP limitation, not WordPress one.

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


More information about the wp-trac mailing list