[wp-trac] [WordPress Trac] #35951: remove_accents() doesn't escape Unicode NFD characters

WordPress Trac noreply at wordpress.org
Thu Nov 3 11:35:27 UTC 2022


#35951: remove_accents() doesn't escape Unicode NFD characters
------------------------------------------+-----------------------
 Reporter:  onnimonni                     |       Owner:  audrasjb
     Type:  defect (bug)                  |      Status:  closed
 Priority:  normal                        |   Milestone:  6.1
Component:  Charset                       |     Version:
 Severity:  normal                        |  Resolution:  fixed
 Keywords:  has-patch add-to-field-guide  |     Focuses:
------------------------------------------+-----------------------

Comment (by SergeyBiryukov):

 Replying to [comment:22 zodiac1978]:
 > The reporter has Updraft Plus installed and this is indeed using a
 polyfill.
 > See: https://wpdirectory.net/search/01GGYGZXMMWWG4FDD3781EKW0W
 >
 > Could the polyfill be not accessible and still producing a `true` on a
 function exists check!?

 It appears that the plugin polyfills the `normalizer_normalize()`
 function, but the `Normalizer` class has a different namespace there,
 `p\Normalizer`, so `Normalizer::FORM_C` produces a fatal error.

 Since this ticket was closed on a completed milestone, I've created a new
 one for 6.1.1: #56980, let's continue the discussion there.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/35951#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list