[wp-trac] [WordPress Trac] #16782: PHP5-Port - WP_Error Class

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 7 02:15:48 UTC 2011


#16782: PHP5-Port - WP_Error Class
------------------------------------+------------------------------
 Reporter:  hakre                   |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  General                 |     Version:  3.1
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------------------

Comment (by hakre):

 Replying to [comment:2 scribu]:
 > I don't see any benefit in having a WP_Exception class.

 That concrete class is just to make visible that it's an exception thrown
 from WP. Can be replaced with any other exception class (see #16769), but
 that's out of the scope of this ticket. I therefore added another patch
 that is just throwing an exception.

 Do you see a benefit in throwing an exception at all?

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


More information about the wp-trac mailing list