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

WordPress Trac noreply at wordpress.org
Fri Nov 4 13:51: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 dev-feedback  |     Focuses:
------------------------------------+---------------------

Comment (by costdev):

 @SergeyBiryukov The patch looks good to me generally, seems to assume that
 `normalizer_is_normalized()` exists if `normalizer_normalize()` exists.
 The example polyfills check both, so we might consider this too.

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


More information about the wp-trac mailing list