[wp-trac] [WordPress Trac] #8500: User-Agent cannot set in WP_Http_Streams

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 5 19:52:36 GMT 2008


#8500: User-Agent cannot set in WP_Http_Streams
--------------------------+-------------------------------------------------
 Reporter:  alexrabe      |       Owner:  anonymous
     Type:  defect        |      Status:  new      
 Priority:  normal        |   Milestone:  2.7      
Component:  Optimization  |     Version:  2.7      
 Severity:  normal        |    Keywords:           
--------------------------+-------------------------------------------------
 I tested my plugin checker with the new http class and cannot change the
 user-agent.

 In class WP_Http_Streams() the user-agent is defined with the array key
 "user-agent", but it should be "user_agent" (see
 http://de2.php.net/manual/de/context.http.php).

 Tested with PHP 5.2.6 / WIN

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8500>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list