From 9f6b27fa15f85b8d1c5abab09d513bdcddb7141c Mon Sep 17 00:00:00 2001 From: Abhishek Kaushik Date: Tue, 14 Sep 2021 16:01:50 +0530 Subject: [PATCH] ignore Result output --- aws-ses-wp-mail.php | 1 + 1 file changed, 1 insertion(+) diff --git a/aws-ses-wp-mail.php b/aws-ses-wp-mail.php index cdd2616..36f60cd 100644 --- a/aws-ses-wp-mail.php +++ b/aws-ses-wp-mail.php @@ -27,6 +27,7 @@ function wp_mail( $to, $subject, $message, $headers = '', $attachments = [] ) { if ( is_wp_error( $result ) ) { trigger_error( + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped sprintf( 'Sendmail SES Email failed: %d %s', $result->get_error_code(), $result->get_error_message() ), E_USER_WARNING );