[wp-trac] [WordPress Trac] #18488: set_transient crashes when value parameter is a SimpleXMLElement object
WordPress Trac
wp-trac at lists.automattic.com
Tue Aug 21 08:46:41 UTC 2012
#18488: set_transient crashes when value parameter is a SimpleXMLElement object
--------------------------+----------------------
Reporter: bobbingwide | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Cache | Version: 3.2.1
Severity: normal | Resolution: invalid
Keywords: |
--------------------------+----------------------
Comment (by bobbingwide):
OK, resolution accepted.
But I never did find out the WordPress strategy towards parameter
validation and error handling. I do hope it's not as bad as wpStoreCart's
was! Perhaps there's an opportunity to add some notes to the
[http://wordpress.org/extend/plugins/developer/faq/ developer] plugin to
say that setting WP_DEBUG to true doesn't help you catch all the problems!
In reply to Andrew Ozz's ( azaozz ) comment see
http://solongandthanksforalltheghoti.blogspot.co.uk/2009/09/what-did-you-
expect.html
The upshot of the story in the link was that we developed very powerful
exception handling for our APIs.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18488#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list