[wp-trac] [WordPress Trac] #16769: Make WP_Error extending Exception to make it throw-able

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 8 11:30:49 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:  normal       |  Resolution:
 Keywords:               |
-------------------------+-----------------------------

Comment (by hakre):

 Replying to [comment:8 westi]:
 > The real bug is that nothing actually checks for the WP_Error that is
 returned.

 If you consider that a bug, please open a ticket. We can reference it here
 while keeping the discussion on topic. The suggestion made in this ticket
 is not about rewriting the code wherever WP_Error is in use.

 This is not going to be constructive at the moment.

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


More information about the wp-trac mailing list