From 65b4c64440dae0ce1493fb32dc1df7248eaac022 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 14 Sep 2019 20:41:48 +0000 Subject: [PATCH] Coding Standards: Fix WPCS issue in [46115]. See #43542. git-svn-id: https://develop.svn.wordpress.org/trunk@46116 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/pluggable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/pluggable.php b/src/wp-includes/pluggable.php index 835a0d6df3..926f3e41b1 100644 --- a/src/wp-includes/pluggable.php +++ b/src/wp-includes/pluggable.php @@ -454,7 +454,7 @@ if ( ! function_exists( 'wp_mail' ) ) : if ( ! empty( $headers ) ) { foreach ( (array) $headers as $name => $content ) { // Only add custom headers not added automatically by PHPMailer. - if ( ! in_array( $name, array( 'MIME-Version', 'X-Mailer') ) ) { + if ( ! in_array( $name, array( 'MIME-Version', 'X-Mailer' ) ) ) { $phpmailer->addCustomHeader( sprintf( '%1$s: %2$s', $name, $content ) ); } }