Skip to content
Snippets Groups Projects
Unverified Commit 6ea4f106 authored by Seamus Lee's avatar Seamus Lee Committed by GitHub
Browse files

Merge pull request #17805 from seamuslee001/1865_527

dev/core#1865 Remove civiwp and option query strings from redirected …
parents b5919dad bcbfa93e
Branches 5.69
No related tags found
No related merge requests found
......@@ -91,10 +91,16 @@ class CRM_Mailing_Page_Url extends CRM_Core_Page {
unset($query_param['qid']);
unset($query_param['u']);
unset($query_param[$config->userFrameworkURLVar]);
// @see dev/core#1865 for some additional query strings we need to remove as well.
if ($config->userFramework === 'WordPress') {
// Ugh
unset($query_param['page']);
unset($query_param['noheader']);
unset($query_param['civiwp']);
}
elseif ($config->userFramework === 'Joomla') {
unset($query_param['option']);
}
$query_string = http_build_query($query_param);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment