Skip to content

Commit

Permalink
(dev/core#4462) Tweak upgrade message
Browse files Browse the repository at this point in the history
  • Loading branch information
totten committed Oct 30, 2024
1 parent e7dd4e2 commit be41751
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CRM/Upgrade/Incremental/php/FiveSeventyNine.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@ public function setPreUpgradeMessage(&$message, $rev, $current = NULL) {
$tokenForms = static::findAfformsWithMsgToken();
if (!empty($tokenForms)) {
$formList = implode(', ', array_map(fn($name) => '<em>"' . htmlentities($name) . '"</em>', $tokenForms));
$message .= '<p>' . ts('Some custom forms (%1) support authenticated email links. Links will still be generated in 5.79+, but they only confer access to one page at a time. If you need a link to provide a full login-session, please install extension <a %2>%3</a>.', [
$message .= '<p>' . ts('Some custom forms (%1) support authenticated email links. Links will still be generated in 5.79+, but they only confer access to one page at a time. Please review the <strong><a %2>CiviCRM 5.79 Form-Token Notice</a></strong>.', [
1 => $formList,
2 => 'href="https://lab.civicrm.org/extensions/afform-login-token" target="_blank"',
3 => 'Afform Login Token',
2 => 'href="https://lab.civicrm.org/dev/core/-/wikis/CiviCRM-v5.79-Form-Token-Notice" target="_blank"',
]) . '</p>';
}
}
Expand Down

0 comments on commit be41751

Please sign in to comment.