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

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 7 02:33:32 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:4 filosofo]:
 > I think there are at least two possible benefits to using exceptions in
 WP:

 thanks for your feedback. Next to these two cases, how should be dealt
 with the invalid return statements we have in some constructors? With
 exceptions as I suggested or do you have some other idea?

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


More information about the wp-trac mailing list