Skip to content

Commit

Permalink
Merge pull request #1531 from rocklobster-in/dev/6.0
Browse files Browse the repository at this point in the history
Update CTCT deprecation warning
  • Loading branch information
takayukister authored Jan 8, 2025
2 parents 83c49b7 + 6358885 commit 284c3d3
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions admin/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://contactform7.com/2025/01/08/complete-removal-of-constant-contact-integration/">completely removed</a> anytime soon. Contact Form 7 recommends <a href="https://contactform7.com/sendinblue-integration/">Brevo</a> 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' );
}
}

0 comments on commit 284c3d3

Please sign in to comment.