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

WordPress Trac noreply at wordpress.org
Tue Oct 3 09:56:48 UTC 2017


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

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"41702"]:
 {{{
 #!CommitTicketReference repository="" revision="41702"
 Emoji: Fix incorrect emoji encoding in PHP < 5.4.

 [41701] included a bug with PHP < 5.4. Prior to then,
 `html_entity_decode()` decoded into `ISO-8859-1`, when we actually need it
 to use `UTF-8`.

 Fixes #35293.
 }}}

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


More information about the wp-trac mailing list