From: soufiane Date: Wed, 19 Nov 2025 15:41:26 +0000 (+0100) Subject: wait #7854 @1:30 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=82178c533b3a1c5e58686ce0e1e05f6374775dff;p=couzy.git wait #7854 @1:30 --- diff --git a/cesaretleonie.fr/wp-content/plugins/mailjet-for-wordpress/mailjet-widget.php b/cesaretleonie.fr/wp-content/plugins/mailjet-for-wordpress/mailjet-widget.php index 0c9839a9..65cb47d9 100755 --- a/cesaretleonie.fr/wp-content/plugins/mailjet-for-wordpress/mailjet-widget.php +++ b/cesaretleonie.fr/wp-content/plugins/mailjet-for-wordpress/mailjet-widget.php @@ -436,7 +436,7 @@ class WP_Mailjet_Subscribe_Widget extends WP_Widget { foreach ($emailParams as $key => $value) { $message = str_replace($key, $value, $message); } - add_filter('wp_mail_content_type', create_function('', 'return "text/html"; ')); + add_filter('wp_mail_content_type', function(){ return "text/html"; }); /*wp_mail($_POST['email'], __('Subscription Confirmation', 'wp-mailjet-subscription-widget'), $message, array('From: ' . get_option('blogname') . ' <' . get_option('admin_email') . '>'));*/ /*echo '

' . __('Subscription confirmation email sent. Please check your inbox and confirm the subscription.', diff --git a/mdryvescouzy.com/wp-content/plugins/mailjet-for-wordpress/mailjet-widget.php b/mdryvescouzy.com/wp-content/plugins/mailjet-for-wordpress/mailjet-widget.php index 102d5828..57852e5d 100644 --- a/mdryvescouzy.com/wp-content/plugins/mailjet-for-wordpress/mailjet-widget.php +++ b/mdryvescouzy.com/wp-content/plugins/mailjet-for-wordpress/mailjet-widget.php @@ -436,7 +436,7 @@ class WP_Mailjet_Subscribe_Widget extends WP_Widget { foreach ($emailParams as $key => $value) { $message = str_replace($key, $value, $message); } - add_filter('wp_mail_content_type', create_function('', 'return "text/html"; ')); + add_filter('wp_mail_content_type', function(){ return "text/html"; }); /*wp_mail($_POST['email'], __('Subscription Confirmation', 'wp-mailjet-subscription-widget'), $message, array('From: ' . get_option('blogname') . ' <' . get_option('admin_email') . '>'));*/ /*echo '

' . __('Subscription confirmation email sent. Please check your inbox and confirm the subscription.', diff --git a/pavillonmadeleine.fr/wp-content/plugins/mailjet-for-wordpress/mailjet-widget.php b/pavillonmadeleine.fr/wp-content/plugins/mailjet-for-wordpress/mailjet-widget.php index 0c9839a9..65cb47d9 100755 --- a/pavillonmadeleine.fr/wp-content/plugins/mailjet-for-wordpress/mailjet-widget.php +++ b/pavillonmadeleine.fr/wp-content/plugins/mailjet-for-wordpress/mailjet-widget.php @@ -436,7 +436,7 @@ class WP_Mailjet_Subscribe_Widget extends WP_Widget { foreach ($emailParams as $key => $value) { $message = str_replace($key, $value, $message); } - add_filter('wp_mail_content_type', create_function('', 'return "text/html"; ')); + add_filter('wp_mail_content_type', function(){ return "text/html"; }); /*wp_mail($_POST['email'], __('Subscription Confirmation', 'wp-mailjet-subscription-widget'), $message, array('From: ' . get_option('blogname') . ' <' . get_option('admin_email') . '>'));*/ /*echo '

' . __('Subscription confirmation email sent. Please check your inbox and confirm the subscription.',