[wp-trac] [WordPress Trac] #32995: Flag Emoji in emails substituted by img HTML tag, alt attribute is erroneously substituted
WordPress Trac
noreply at wordpress.org
Tue Jul 14 15:13:45 UTC 2015
#32995: Flag Emoji in emails substituted by img HTML tag, alt attribute is
erroneously substituted
--------------------------+------------------------------
Reporter: cesargml | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 4.2.2
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by MattyRob):
@cesargml
Does this issue happen on your site with the following code?
{{{
$emo = '🇪🇸';
echo $emo;
echo wp_staticize_emoji( $emo );
}}}
The first `echo` should just print the Emoji, the second will print the
static version in an `<img>` tag.
I've tried that above on my site and it works okay - also worth noting
that the src should be on the s.w.org domain - not googlecontent so it may
be an issue in Google Mail or perhaps a plugin bug.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32995#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list