[wp-trac] [WordPress Trac] #24661: remove_accents is not removing combining accents

WordPress Trac noreply at wordpress.org
Sun Oct 2 11:37:29 UTC 2016


#24661: remove_accents is not removing combining accents
------------------------------------+--------------------
 Reporter:  NumidWasNotAvailable    |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  4.7
Component:  Formatting              |     Version:  1.2.1
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+--------------------

Comment (by gitlost):

 This patch incorporates the suggestion of @markoheijnen to introduce a
 `_wp_can_use_pcre_u`-like function. It doesn't bother with the
 `\p{Inherited}` change, as it complicates the UCP case, which (as hinted
 at by markoheijnen in [https://wordpress.slack.com/archives/core-
 images/p1474169202000431 Slack]) is undoubtedly the "high-runner" by a
 country mile. The unit test has been expanded to include all Unicode 5.0.0
 Mn characters.

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


More information about the wp-trac mailing list