diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index 4c229b7..ff4b904 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -4164,7 +4164,7 @@ function wp_staticize_emoji( $text ) { } /** This filter is documented in wp-includes/script-loader.php */ - $cdn_url = apply_filters( 'emoji_url', '//s0.wp.com/wp-content/mu-plugins/emoji/twemoji/72x72/' ); + $cdn_url = apply_filters( 'emoji_url', set_url_scheme( '//s0.wp.com/wp-content/mu-plugins/emoji/twemoji/72x72/' ) ); /** This filter is documented in wp-includes/script-loader.php */ $ext = apply_filters( 'emoji_ext', '.png' ); @@ -4200,7 +4200,7 @@ function wp_staticize_emoji( $text ) { $chars = str_replace( array( '&#x', ';'), '', $flag ); list( $char1, $char2 ) = str_split( $chars, 5 ); - $entity = ''; + $entity = ''; $content = str_replace( $flag, $entity, $content ); }