[wp-trac] [WordPress Trac] #55817: Twemoji image broken in WordPress dashboard
WordPress Trac
noreply at wordpress.org
Mon Jun 27 15:08:35 UTC 2022
#55817: Twemoji image broken in WordPress dashboard
-------------------------------------+------------------------------
Reporter: butterflymedia | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Emoji | Version: 6.0
Severity: normal | Resolution:
Keywords: reporter-feedback close | Focuses:
-------------------------------------+------------------------------
Comment (by butterflymedia):
I still think it's a WordPress 6.0 bug, as it never happened before.
However, I fixed it like this:
{{{
if ( ! is_admin() ) {
add_filter( 'emoji_svg_url', '__return_false' );
}
}}}
Basically, I don't need emojis on front-end, so I am only checking for `!
is_admin()`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55817#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list