[wp-trac] [WordPress Trac] #16769: Make WP_Error extending Exception to make it throw-able (was: PHP5-port - Make WP_Error extending Exception to make it throw-able)
WordPress Trac
wp-trac at lists.automattic.com
Mon Mar 7 12:50:34 UTC 2011
#16769: Make WP_Error extending Exception to make it throw-able
-------------------------+-----------------------------
Reporter: hakre | Owner:
Type: enhancement | Status: reopened
Priority: lowest | Milestone: Future Release
Component: General | Version: 3.1
Severity: trivial | Resolution:
Keywords: |
-------------------------+-----------------------------
Changes (by westi):
* priority: normal => lowest
* severity: normal => trivial
* milestone: => Future Release
Comment:
Switching to an Exception and throwing it changes the whole way in which
we use WP_Error.
I'm not convinced we need to do this.
* What is the benefit?
* How is this backwards compatible with old code?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16769#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list