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

WordPress Trac noreply at wordpress.org
Tue Oct 3 07:31:39 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:  performance
--------------------------+--------------------------
Changes (by pento):

 * keywords:  has-patch needs-testing =>
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Whee, broken in PHP < 5.4, because `html_entity_decode()` doesn't know how
 to decode emoji entities into emoji characters.

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


More information about the wp-trac mailing list