updated plugin WP Mail SMTP version 2.5.1

This commit is contained in:
2020-10-31 15:29:55 +00:00
committed by Gitium
parent 0505659506
commit 1b332b2abc
15 changed files with 96 additions and 92 deletions

View File

@ -153,7 +153,7 @@ final class Php72
}
public static function mb_ord($s, $encoding = null)
{
if (null == $encoding) {
if (null === $encoding) {
$s = \mb_convert_encoding($s, 'UTF-8');
} elseif ('UTF-8' !== $encoding) {
$s = \mb_convert_encoding($s, 'UTF-8', $encoding);