[wp-trac] [WordPress Trac] #35293: Emoji Regex in wp_encode_emoji() is wildly inaccurate

WordPress Trac noreply at wordpress.org
Sun Jan 3 23:33:33 UTC 2016


#35293: Emoji Regex in wp_encode_emoji() is wildly inaccurate
--------------------------+------------------
 Reporter:  pento         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.5
Component:  General       |     Version:  4.2
 Severity:  normal        |  Resolution:
 Keywords:  emoji         |     Focuses:
--------------------------+------------------

Comment (by pento):

 `wp_encode_emoji()` should be all possible emoji (when they're encoded as
 an HTML entity for storing in a `utf8` database),  `wp_staticize_emoji()`
 should match the twemoji regex.

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


More information about the wp-trac mailing list