From: Tim Otten Date: Thu, 25 Jan 2024 00:07:27 +0000 (-0800) Subject: ListUnsubscribe - Fix HTTP URL generation on WP/J X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a1cec32238b7bd269f341cbbf25f70ce7e185f55;p=civicrm-core.git ListUnsubscribe - Fix HTTP URL generation on WP/J --- diff --git a/CRM/Mailing/Service/ListUnsubscribe.php b/CRM/Mailing/Service/ListUnsubscribe.php index 6632325d15..77a786e1a7 100644 --- a/CRM/Mailing/Service/ListUnsubscribe.php +++ b/CRM/Mailing/Service/ListUnsubscribe.php @@ -64,7 +64,7 @@ class CRM_Mailing_Service_ListUnsubscribe extends \Civi\Core\Service\AutoService $listUnsubscribe[] = $params['List-Unsubscribe']; } if (array_intersect(['http', 'oneclick'], $methods)) { - $listUnsubscribe[] = '<' . Civi::url('civicrm/mailing/unsubscribe', $this->urlFlags)->addQuery([ + $listUnsubscribe[] = '<' . Civi::url('frontend://civicrm/mailing/unsubscribe', $this->urlFlags)->addQuery([ 'reset' => 1, 'jid' => $m[1], 'qid' => $m[2],