[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:15 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:
------------------------------------+---------------------
Changes (by costdev):

 * keywords:  has-patch => has-patch dev-feedback


Comment:

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

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


More information about the wp-trac mailing list