[wp-trac] Re: [WordPress Trac] #8620: Fatal error with HTTP class

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 14 21:37:12 GMT 2009


#8620: Fatal error with HTTP class
---------------------------+------------------------------------------------
 Reporter:  momo360modena  |        Owner:  westi   
     Type:  defect (bug)   |       Status:  assigned
 Priority:  high           |    Milestone:  2.7.1   
Component:  HTTP           |      Version:  2.7     
 Severity:  major          |   Resolution:          
 Keywords:  has-patch      |  
---------------------------+------------------------------------------------
Changes (by westi):

  * owner:  => westi
  * status:  new => assigned

Comment:

 I'm 50/50 on this change.

 I think the most important improvement is to update the phpDoc to empasise
 that the main HTTP API functions will return WP_Error objects if an error
 occurs.

 You could argue that these helper functions should not need to deal with
 the WP_Error objects as the code should test for that before calling them.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8620#comment:8>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list