Skip to content

Commit

Permalink
ignore Result output
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishek-kaushik committed Sep 14, 2021
1 parent f18904b commit 9f6b27f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aws-ses-wp-mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
Expand Down

0 comments on commit 9f6b27f

Please sign in to comment.