diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php index 0ad1b5d583..d25b69ebdb 100644 --- a/src/wp-includes/formatting.php +++ b/src/wp-includes/formatting.php @@ -4532,7 +4532,7 @@ function print_emoji_detection_script() { * * @param string The emoji base URL. */ - 'baseUrl' => apply_filters( 'emoji_url', set_url_scheme( '//s.w.org/images/core/emoji/72x72/' ) ), + 'baseUrl' => apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/72x72/' ), /** * Filter the extension of the emoji files. @@ -4644,7 +4644,7 @@ function wp_staticize_emoji( $text ) { $text = wp_encode_emoji( $text ); /** This filter is documented in wp-includes/formatting.php */ - $cdn_url = apply_filters( 'emoji_url', set_url_scheme( '//s.w.org/images/core/emoji/72x72/' ) ); + $cdn_url = apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/72x72/' ); /** This filter is documented in wp-includes/formatting.php */ $ext = apply_filters( 'emoji_ext', '.png' );