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

WordPress Trac noreply at wordpress.org
Sat Oct 3 22:26:17 UTC 2015


#17923: add_query_arg() should encode values
--------------------------+----------------------
 Reporter:  Viper007Bond  |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  3.2
 Severity:  normal        |  Resolution:  wontfix
 Keywords:  has-patch     |     Focuses:
--------------------------+----------------------
Changes (by chriscct7):

 * keywords:  has-patch 3.6-early => has-patch
 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Future Release =>


Comment:

 Per https://make.wordpress.org/plugins/2015/04/20/fixing-add_query_arg-
 and-remove_query_arg-usage/ permalinks should be run through esc_url()
 before being printed to the page. The new function isn't a bad idea but
 should be discussed in a new ticket. Closing as wontfix.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/17923#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list