From 46615b4e0898e957231754666f5e008c017349c8 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Wed, 31 May 2023 16:25:49 -0700 Subject: [PATCH] Remove extraneous sprintf() from _print_emoji_detection_script() --- src/wp-includes/formatting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php index 58cc0ec69bbd5..9ea2b9f8fa78e 100644 --- a/src/wp-includes/formatting.php +++ b/src/wp-includes/formatting.php @@ -5913,7 +5913,7 @@ function _print_emoji_detection_script() { wp_print_inline_script_tag( sprintf( 'window._wpemojiSettings = %s;', wp_json_encode( $settings ) ) . "\n" . - file_get_contents( sprintf( ABSPATH . WPINC . '/js/wp-emoji-loader' . wp_scripts_get_suffix() . '.js' ) ) + file_get_contents( ABSPATH . WPINC . '/js/wp-emoji-loader' . wp_scripts_get_suffix() . '.js' ) ); }