If this code appears on your WordPress site and causes issues when updating plugins. This post may assist you in troubleshooting your problem.
img.wp-smiley,
img.emoji {
display: inline !important;
border: none !important;
box-shadow: none !important;
height: 1em !important;
width: 1em !important;
margin: 0 .07em !important;
vertical-align: -0.1em !important;
background: none !important;
padding: 0 !important;
}
Here's a quick guide to removing problematic emoji from your WordPress site.
1. Install Plugin
This plugin disables the new WordPress emoji functionality.
Download Disable Emojis (GDPR friendly)
2. Use Code
1. Go to "Appearance" > "Theme Editor"
2. Click "functions.php" and paste these action codes at the bottom.
remove_action('wp_head', 'print_emoji_detection_script', 7);
remove_action('wp_print_styles', 'print_emoji_styles');
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
remove_action( 'admin_print_styles', 'print_emoji_styles' );
3. Check the source code by pressing Ctrl + U (Source code) in the homepage, then Ctrl + F search "window. wpemojiSettings", you should not find a match and you are now ready to go.