15 lines
450 B
PHP
15 lines
450 B
PHP
<?php
|
|
if (!defined('ABSPATH')) exit;
|
|
use MailPoetVendor\Symfony\Polyfill\Intl\Normalizer as p;
|
|
if (!\function_exists('normalizer_is_normalized')) {
|
|
function mailpoet_normalizer_is_normalized($s, $form = p\Normalizer::NFC)
|
|
{
|
|
return p\Normalizer::isNormalized($s, $form);
|
|
}
|
|
}
|
|
if (!\function_exists('normalizer_normalize')) {
|
|
function mailpoet_normalizer_normalize($s, $form = p\Normalizer::NFC)
|
|
{
|
|
return p\Normalizer::normalize($s, $form);
|
|
}
|
|
}
|