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

WordPress Trac noreply at wordpress.org
Wed Aug 2 13:41:03 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:                |     Focuses:
--------------------------+-----------------------

Comment (by pento):

 == Test 5

 Combine Test 4.2 with the early bail from Test 1.

 '''Data''': https://travis-ci.org/pento/test-41501/builds/260197654

 '''Analysis''':
 - As expected, test 5 results are approximately the same as Test 4.2,
 except for the en_US, 0% emoji tests. These tests are much faster.

 '''Conclusion''': This takes care of the primary uses cases - shorter
 posts, and longer posts with no emoji. There's still some work to be done
 on longer posts that do contain emoji, but it's looking solid.

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


More information about the wp-trac mailing list