[wp-trac] [WordPress Trac] #32692: Remove removable query vars from certain redirect URLs

WordPress Trac noreply at wordpress.org
Thu Jun 25 15:57:07 UTC 2015


#32692: Remove removable query vars from certain redirect URLs
----------------------------------------+------------------------------
 Reporter:  johnbillion                 |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Administration              |     Version:  4.2
 Severity:  minor                       |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:
----------------------------------------+------------------------------

Comment (by Mte90):

 I've changed wp_admin_canonical_url, now have 2 parameters, one for the
 url to filter and one for print.
 In this way i can get the url cleaned in customize.php for $return.

 But after your comment i think that a function that wrap
 wp_admin_canonical_url and to the same thing is better.

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


More information about the wp-trac mailing list