[wp-trac] [WordPress Trac] #4464: leading "?" removed from query strings passed through add_query_arg()

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 14 03:36:19 GMT 2007


#4464: leading "?" removed from query strings passed through add_query_arg()
-------------------------+--------------------------------------------------
 Reporter:  markjaquith  |       Owner:  anonymous
     Type:  defect       |      Status:  new      
 Priority:  normal       |   Milestone:  2.2.1    
Component:  General      |     Version:  2.2      
 Severity:  normal       |    Keywords:           
-------------------------+--------------------------------------------------
 example:

 {{{
 $test = '?s=test&paged=2';
 $test = remove_query_arg('paged', $test);
 echo $test;
 }}}

 expected result:

 {{{
 ?s=test
 }}}

 actual result:

 {{{
 s=test
 }}}

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


More information about the wp-trac mailing list