[wp-trac] [WordPress Trac] #55817: Twemoji image broken in WordPress dashboard

WordPress Trac noreply at wordpress.org
Sat Jun 11 22:07:48 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 ianpegg):

 I was experiencing the same issue as the OP after upgrading to WP 6.0. But
 @desrosj comment about filters set me on the right track. Since I normally
 have no use for emojis I remove all actions and filters related to them
 from both front and back end with a custom function.

 Up until this release, doing so hasn't caused an issue but I've noticed
 that if I remove the following line of code from my function then Twemojis
 work correctly once again:

 add_filter('emoji_svg_url', '__return_false');

Ticket URL: <https://core.trac.wordpress.org/ticket/55817#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list