Fix stats redirect
When an unauthenticated user comes to any page they are redirected to login screen. After they authenticate they are redirected to the original page. But the # part of the url is ignored. So we have to use regular query params from the email and redirect user to the canonical URL later. [MAILPOET-2554]
This commit is contained in:
committed by
Jack Kitterhing
parent
8e38925850
commit
3b9ba5cac2
@ -139,7 +139,7 @@ class Worker {
|
||||
),
|
||||
'topLinkClicks' => 0,
|
||||
'linkSettings' => WPFunctions::get()->getSiteUrl(null, '/wp-admin/admin.php?page=mailpoet-settings#basics'),
|
||||
'linkStats' => WPFunctions::get()->getSiteUrl(null, '/wp-admin/admin.php?page=mailpoet-newsletters#/stats/' . $newsletter->getId()),
|
||||
'linkStats' => WPFunctions::get()->getSiteUrl(null, '/wp-admin/admin.php?page=mailpoet-newsletters&stats=' . $newsletter->getId()),
|
||||
'clicked' => $clicked,
|
||||
'opened' => $opened,
|
||||
'subscribersLimitReached' => $this->subscribersFeature->check(),
|
||||
|
Reference in New Issue
Block a user