[wp-trac] [WordPress Trac] #5479: Avoid infinite redirect

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 17 22:58:03 GMT 2007


#5479: Avoid infinite redirect
---------------------+------------------------------------------------------
 Reporter:  ruckus   |       Owner:  anonymous
     Type:  defect   |      Status:  new      
 Priority:  normal   |   Milestone:  2.4      
Component:  General  |     Version:  2.4      
 Severity:  normal   |    Keywords:           
---------------------+------------------------------------------------------
 In [6390] detecting infinite redirects is accidentally dropped due to
 wp_get_http_headers() being renamed to wp_get_http() but wp_get_http()
 still calling the former function (with extra arguments that are really
 intended for the latter).

 The attached patch also restores the original two-argument calling
 convention for the compatibility version of wp_get_http_headers().

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


More information about the wp-trac mailing list