[wp-trac] [WordPress Trac] #32692: Remove removable query vars from certain redirect URLs
WordPress Trac
noreply at wordpress.org
Thu Jun 25 11:45:20 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 swissspidy):
`add_query_arg` isn't the problem here.
First, the removable query vars inside `wp_admin_canonical_url` should be
moved to their own function (pretty easy). Then you need to use that
function in `wp-admin/customize.php`, just at the beginning where
`$return` is set.
I will try to create a patch for that at the WordCamp Europe Contributor
Day on Sunday.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32692#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list