[wp-trac] [WordPress Trac] #33787: Euro hex code being converted to smiley url in html email

WordPress Trac noreply at wordpress.org
Wed Sep 9 09:36:53 UTC 2015


#33787: Euro hex code being converted to smiley url in html email
--------------------------+-----------------------------
 Reporter:  UmeshSingla   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Mail          |    Version:  4.3
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 While using a hex code for euro symbol "€" in a HTML email,
 `wp_staticize_emoji_for_email` filter tries to convert it into a smiley
 url, which doesn't exist, and the symbol appears broken in the email.

 [[Image(euro-to-emoji url.png)]]

 To test this out, here is a small plugin.

 Updating the regex in `/wp-includes/formatting.php`
 https://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/formatting.php#L4530, fixes the issue.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33787>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list