Changeset 51635 for trunk/src/wp-includes/PHPMailer/PHPMailer.php
- Timestamp:
- 08/18/2021 02:07:17 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/PHPMailer/PHPMailer.php
r51634 r51635 859 859 { 860 860 //Check overloading of mail function to avoid double-encoding 861 if (ini_get('mbstring.func_overload') & 1) { 861 if (ini_get('mbstring.func_overload') & 1) { // phpcs:ignore PHPCompatibility.IniDirectives.RemovedIniDirectives.mbstring_func_overloadDeprecated 862 862 $subject = $this->secureHeader($subject); 863 863 } else { … … 1455 1455 } elseif (defined('INTL_IDNA_VARIANT_2003')) { 1456 1456 //Fall back to this old, deprecated/removed encoding 1457 // phpcs:ignore PHPCompatibility.Constants.RemovedConstants.intl_idna_variant_2003Deprecated 1457 1458 $punycode = idn_to_ascii($domain, $errorcode, \INTL_IDNA_VARIANT_2003); 1458 1459 } else { 1459 1460 //Fall back to a default we don't know about 1461 // phpcs:ignore PHPCompatibility.ParameterValues.NewIDNVariantDefault.NotSet 1460 1462 $punycode = idn_to_ascii($domain, $errorcode); 1461 1463 }
Note: See TracChangeset
for help on using the changeset viewer.