Changeset 48045 for trunk/src/wp-includes/PHPMailer/PHPMailer.php
- Timestamp:
- 06/15/2020 02:54:23 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/PHPMailer/PHPMailer.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/PHPMailer/PHPMailer.php
r48033 r48045 854 854 { 855 855 //Check overloading of mail function to avoid double-encoding 856 if (ini_get('mbstring.func_overload') & 1) { 856 if (ini_get('mbstring.func_overload') & 1) { // phpcs:ignore PHPCompatibility.IniDirectives.RemovedIniDirectives.mbstring_func_overloadDeprecated 857 857 $subject = $this->secureHeader($subject); 858 858 } else { … … 1402 1402 $errorcode = 0; 1403 1403 if (defined('INTL_IDNA_VARIANT_UTS46')) { 1404 // phpcs:ignore PHPCompatibility.ParameterValues.NewIDNVariantDefault.NotSet 1404 1405 $punycode = idn_to_ascii($domain, $errorcode, INTL_IDNA_VARIANT_UTS46); 1405 1406 } elseif (defined('INTL_IDNA_VARIANT_2003')) { 1407 // phpcs:ignore PHPCompatibility.Constants.RemovedConstants.intl_idna_variant_2003Deprecated 1406 1408 $punycode = idn_to_ascii($domain, $errorcode, INTL_IDNA_VARIANT_2003); 1407 1409 } else { 1410 // phpcs:ignore PHPCompatibility.ParameterValues.NewIDNVariantDefault.NotSet 1408 1411 $punycode = idn_to_ascii($domain, $errorcode); 1409 1412 }
Note: See TracChangeset
for help on using the changeset viewer.