Index: formatting.php
===================================================================
--- formatting.php	(revision 41198)
+++ formatting.php	(working copy)
@@ -5147,7 +5147,11 @@
  * @param string $text The content to encode.
  * @return string The encoded content.
  */
-function wp_staticize_emoji( $text ) {
+function wp_staticize_emoji( $text ) { 
+	if ( ( ( function_exists( 'mb_check_encoding' ) && mb_check_encoding( $text, 'ASCII' ) ) || ! preg_match( '/[^\x00-\x7F]/', $text ) ) && false === strpos( $text ,'&#x' ) ) {
+		 // The text doesn't contain anything that might be emoji, so we can return early. 
+			return $text; 
+	}
 	$text = wp_encode_emoji( $text );
 
 	$output = '';
