[wp-trac] [WordPress Trac] #56980: Check that the Normalizer class exists in remove_accents()

WordPress Trac noreply at wordpress.org
Thu Nov 3 22:00:38 UTC 2022


#56980: Check that the Normalizer class exists in remove_accents()
----------------------------+---------------------
 Reporter:  SergeyBiryukov  |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  6.1.1
Component:  Formatting      |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+---------------------

Comment (by zodiac1978):

 Replying to [comment:8 hellofromTonya]:
 > @SergeyBiryukov how can this be tested?

 I think we need to have a PHP compiled without the `--enable-intl` option,
 otherwise I'm afraid there is no way to disable this extension via
 php.ini.

 Plugins with the polyfill are found here:
 https://wpdirectory.net/search/01GGYGZXMMWWG4FDD3781EKW0W

 `remove_accents` is for example used if you create a new user, like
 described here:
 https://github.com/woocommerce/woocommerce/issues/35471#issuecomment-1301815362

 Non-NFC content can be found in #30130 (PDF attachment).

 So this could be a way to test.

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


More information about the wp-trac mailing list