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

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 26 07:36:04 GMT 2009


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

  * keywords:  => has-patch


Comment:

 > attachment 8620.diff added
  * A few PHPDoc updates based on previous patches and comments
  * Added a WP_Error check on the helper functions (Note: The example code
 in the OP's description would never cause that error, due to the
 is_wp_error() check, But not everyone is going to do that check, as
 evident by that error message)
  * I didnt see the point of Denis's isset() changes, infact, I suspect
 they'd cause notices to be thrown (isset($arr['one']['two']) throws a one
 is unset i think under some conditions)

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


More information about the wp-trac mailing list