File "class-wpmp-phpmailer.php"
Full path: /home/xs854402/smcse.co.jp/public_html/test.smcse.co.jp/wp-content/plugins/wp-multibyte-patch/includes/class-wpmp-phpmailer.php
File
size: 321 B (321 B bytes)
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Editor Back
<?php
class WPMP_PHPMailer extends PHPMailer\PHPMailer\PHPMailer {
public function encodeHeader( $str, $position = 'text' ) {
if( 'text' === $position && ( 0 === stripos( $str , '=?UTF-8?' ) || 0 === stripos( $str , '=?ISO-2022-JP?' ) ) ) {
return $str;
}
return parent::encodeHeader( $str, $position );
}
}