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

WordPress Trac noreply at wordpress.org
Fri Sep 22 09:40:47 UTC 2017


#35293: Emoji Regex in wp_encode_emoji() is wildly inaccurate
--------------------------+-----------------------
 Reporter:  pento         |       Owner:  pento
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.9
Component:  Emoji         |     Version:  4.2
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------
Changes (by pento):

 * keywords:   => has-patch


Comment:

 I'm back! [attachment:35293.5.diff] is looking okay, it's not quite as
 fast as the original code, but it's in the same ballpark, and within a few
 ms for the most common cases.

 Now, it needs testing. :-)

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


More information about the wp-trac mailing list