[wp-trac] [WordPress Trac] #17923: add_query_arg() should encode values

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 7 20:24:48 UTC 2011


#17923: add_query_arg() should encode values
--------------------------+-----------------------------
 Reporter:  Viper007Bond  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  General       |     Version:  3.2
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+-----------------------------

Comment (by Viper007Bond):

 Then perhaps a new arg for the function could be added? I end up doing
 this before I call it usually and it's annoying to have to do.

 {{{
 $args = array_map( 'rawurlencode', $args );
 }}}

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


More information about the wp-trac mailing list