Make WordPress Core

Changeset 46116


Ignore:
Timestamp:
09/14/2019 08:41:48 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Fix WPCS issue in [46115].

See #43542.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/pluggable.php

    r46115 r46116  
    455455            foreach ( (array) $headers as $name => $content ) {
    456456                // Only add custom headers not added automatically by PHPMailer.
    457                 if ( ! in_array( $name, array( 'MIME-Version', 'X-Mailer') ) ) {
     457                if ( ! in_array( $name, array( 'MIME-Version', 'X-Mailer' ) ) ) {
    458458                    $phpmailer->addCustomHeader( sprintf( '%1$s: %2$s', $name, $content ) );
    459459                }
Note: See TracChangeset for help on using the changeset viewer.