From 6358885197c03451297d5cc4b69e91df073e1028 Mon Sep 17 00:00:00 2001 From: Takayuki Miyoshi Date: Wed, 8 Jan 2025 16:20:32 +0900 Subject: [PATCH] Update CTCT deprecation warning --- admin/admin.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/admin/admin.php b/admin/admin.php index c571652b..12ce92b7 100644 --- a/admin/admin.php +++ b/admin/admin.php @@ -679,8 +679,15 @@ function wpcf7_ctct_deprecated_warning( $page, $action, $object ) { $service = WPCF7_ConstantContact::get_instance(); if ( $service->is_active() ) { - $message = __( "The Constant Contact integration is deprecated. It is not recommended to continue using the feature.", 'contact-form-7' ); + $message = wp_kses( + __( 'The Constant Contact integration is deprecated and planned to be completely removed anytime soon. Contact Form 7 recommends Brevo as an alternative.', 'contact-form-7' ), + array( + 'a' => array( 'href' => true ), + 'strong' => array(), + ), + array( 'http', 'https' ) + ); - wp_admin_notice( esc_html( $message ), 'type=warning' ); + wp_admin_notice( $message, 'type=warning' ); } }