| @@ -13,8 +13,9 @@ | ||
| 13 | 13 | use Forge12\DoubleOptIn\Integration\FormIntegrationRegistry; |
| 14 | 14 | use Forge12\DoubleOptIn\Integration\CF7Integration; |
| 15 | 15 | use Forge12\DoubleOptIn\Integration\CF7FollowUpAdapter; |
| 16 | 16 | use Forge12\DoubleOptIn\FollowUp\FollowUpAdapterRegistry; |
| 17 | +use Forge12\DoubleOptIn\Frontend\ConfirmationShortcodes; | |
| 17 | 18 | use Forge12\DoubleOptIn\Frontend\ErrorNotification; |
| 18 | 19 | use Forge12\Shared\LoggerInterface; |
| 19 | 20 | |
| 20 | 21 | if ( ! defined( 'ABSPATH' ) ) { |
| @@ -104,8 +105,11 @@ | ||
| 104 | 105 | |
| 105 | 106 | // Register universal error notification system |
| 106 | 107 | $errorNotification = new ErrorNotification(); |
| 107 | 108 | $errorNotification->register(); |
| 109 | + | |
| 110 | + // Confirmation/error page shortcodes + message for failed links (5.8.0). | |
| 111 | + ( new ConfirmationShortcodes() )->register(); | |
| 108 | 112 | |
| 109 | 113 | $registry = $container->get( FormIntegrationRegistry::class ); |
| 110 | 114 | |
| 111 | 115 | // Register core integrations |