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

WordPress Trac noreply at wordpress.org
Wed Sep 2 11:28:14 UTC 2015


#32692: Remove removable query vars from certain redirect URLs
-------------------------------------------------+-------------------------
 Reporter:  johnbillion                          |       Owner:
     Type:  enhancement                          |  johnbillion
 Priority:  normal                               |      Status:  closed
Component:  Administration                       |   Milestone:  4.4
 Severity:  minor                                |     Version:  4.2
 Keywords:  good-first-bug has-patch dev-        |  Resolution:  fixed
  feedback                                       |     Focuses:
-------------------------------------------------+-------------------------
Changes (by johnbillion):

 * owner:   => johnbillion
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"33849"]:
 {{{
 #!CommitTicketReference repository="" revision="33849"
 Introduce `wp_removable_query_args()`, which returns an array of single-
 use query variables which can be removed from a URL.

 Also applies the function to the return URL when the Customizer is closed.

 Fixes #32692
 Props swissspidy, Mte90
 }}}

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


More information about the wp-trac mailing list