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

WordPress Trac noreply at wordpress.org
Wed Jun 24 22:14:00 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'm exploring your plugin i see this:
 {{{
 add_filter( 'removable_query_args',            array( $this,
 'filter_removable_query_args' ) );
 }}}
 So filter_removable_query_args return new values in the array and
 elsewhere is used to add new parameters
 {{{
 add_query_arg( $args, $redirect_to )
 }}}
 to add this parameters.
 In wp-admin/customize.php i see two add_query_arg to two different url,
 home_url and wp_login_url.
 Can you help me to find the correct file to edit for fix this bug?

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


More information about the wp-trac mailing list