[wp-trac] [WordPress Trac] #33787: Euro hex code being converted to smiley url

WordPress Trac noreply at wordpress.org
Thu Sep 10 03:54:45 UTC 2015


#33787: Euro hex code being converted to smiley url
----------------------------------------+-----------------------------
 Reporter:  UmeshSingla                 |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  Formatting                  |     Version:  4.2
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+-----------------------------

Comment (by pento):

 Good times.

 Ideally, we should be using the same regex as in `twemoji.js`, but PHP
 only supports the `\u` style code points from PHP 7.

 Writing something to convert the regex to `\x` notation isn't too tricky,
 but there aren't any options for keeping them is sync that excite me.

 @azaozz - Do you have thoughts on syncing methods?

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


More information about the wp-trac mailing list