[wp-trac] [WordPress Trac] #13452: Use http_build_query compat function

WordPress Trac wp-trac at lists.automattic.com
Wed May 19 10:26:35 UTC 2010


#13452: Use http_build_query compat function
---------------------------+------------------------------------------------
 Reporter:  simonwheatley  |       Owner:                        
     Type:  defect (bug)   |      Status:  new                   
 Priority:  normal         |   Milestone:  Unassigned            
Component:  General        |     Version:                        
 Severity:  normal         |    Keywords:  has-patch dev-feedback
---------------------------+------------------------------------------------

Comment(by dd32):

 The 3rd separator argument was added in PHP 5.2.1, in previous versions it
 may use '&' as the separator. Due to the way those functions are being
 used, We need to specify it as & to retain complete compatibility.

 We could simply use _http_build_query() in class-http.php, but if the core
 function is available.. might as well use it..

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


More information about the wp-trac mailing list