wp/wp-includes/PHPMailer/Exception.php
changeset 19 3d72ae0968f4
parent 18 be944660c56a
child 22 8c2e4d02f4ef
--- a/wp/wp-includes/PHPMailer/Exception.php	Wed Sep 21 18:19:35 2022 +0200
+++ b/wp/wp-includes/PHPMailer/Exception.php	Tue Sep 27 16:37:53 2022 +0200
@@ -35,6 +35,6 @@
      */
     public function errorMessage()
     {
-        return '<strong>' . htmlspecialchars($this->getMessage()) . "</strong><br />\n";
+        return '<strong>' . htmlspecialchars($this->getMessage(), ENT_COMPAT | ENT_HTML401) . "</strong><br />\n";
     }
 }