[wp-trac] [WordPress Trac] #53293: add_query_arg returning a bad character

WordPress Trac noreply at wordpress.org
Sat May 29 03:49:20 UTC 2021


#53293: add_query_arg returning a bad character
--------------------------+-----------------------------
 Reporter:  rafasashi     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Charset       |    Version:  5.7.2
 Severity:  major         |   Keywords:  needs-testing
  Focuses:                |
--------------------------+-----------------------------
 When add_query_arg is used with "not" at the beginning of a key (excluding
 the first parameter), the function seems to replace "&not" by "¬".

 For example:

 {{{
 add_query_arg( array(
         'note1'=>'test',
         'note2'=>'test',
         'note3'=>'test',
 ),'example.com');
 }}}

 returns "example.com?note1=test¬e2=test¬e3=test"

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53293>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list