Coding Standards: Fix WPCS issue in [46115].

See #43542.
Built from https://develop.svn.wordpress.org/trunk@46116


git-svn-id: http://core.svn.wordpress.org/trunk@45928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-09-14 20:42:56 +00:00
parent 18bf922527
commit c5fe7878ec
2 changed files with 2 additions and 2 deletions

View File

@ -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 ) );
}
}

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.3-alpha-46115';
$wp_version = '5.3-alpha-46116';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.