[wp-trac] [WordPress Trac] #52654: Check and recommend intl extension in Site Health
WordPress Trac
noreply at wordpress.org
Thu Jul 21 21:10:14 UTC 2022
#52654: Check and recommend intl extension in Site Health
------------------------------+-----------------------------
Reporter: zodiac1978 | Owner: SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.9
Component: Site Health | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+-----------------------------
Comment (by audrasjb):
In [changeset:"53754" 53754]:
{{{
#!CommitTicketReference repository="" revision="53754"
Formatting: Normalize to Unicode NFC encoding before converting accent
characters in `remove_accents()`.
This changeset adds Unicode sequence normalization from NFD to NFC, via
the `normalizer_normalize()` PHP function which is available with the
recommended `intl` PHP extension.
This fixes an issue where NFD characters were not properly sanitized. It
also provides a unit test for NFD sequences (alternate Unicode
representations of the same characters).
Props NumidWasNotAvailable, targz, nacin, nunomorgadinho, p_enrique,
gitlost, SergeyBiryukov, markoheijnen, mikeschroder, ocean90, pento,
helen, rodrigosevero, zodiac1978, ironprogrammer, audrasjb, azaozz,
laboiteare, nuryko, virgar, dxd5001, onnimonni, johnbillion.
Fixes #24661, #47763, #35951.
See #30130, #52654.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52654#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list