From 0b82ca486606a9eb05f04af800129669f7bc5536 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Harun=20Ba=C5=A1i=C4=87?= Date: Mon, 22 Jan 2024 13:02:57 +0100 Subject: [PATCH] fix(EmailNotifications): remove convert_chars for title inside emails as it causes issues --- includes/features/class-email-notifications.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/features/class-email-notifications.php b/includes/features/class-email-notifications.php index 5bba8fa..2e264f6 100644 --- a/includes/features/class-email-notifications.php +++ b/includes/features/class-email-notifications.php @@ -32,6 +32,7 @@ public function send_email( $differences, $post_id, $alert_id ) { * so we remove it as in plain text emails it displays it as e.g. ’s */ remove_filter( 'the_title', 'wptexturize' ); + remove_filter( 'the_title', 'convert_chars' ); $message = esc_html_x( 'Howdy,', 'notification email', 'visual-regression-tests' ) . "\n\n" . esc_html_x( 'New visual differences have been detected on the following page:', 'notification email', 'visual-regression-tests' ) . "\n\n" .