From a04d9a32b31a2d1a5d636d2c762e5efa509f89e1 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Thu, 1 Jun 2023 18:09:18 +0000 Subject: [PATCH] Emoji: Remove extraneous `sprintf()` from `_print_emoji_detection_script()`. The `sprintf()` is not being passed any values, and there is no placeholder to replace. This originated in r52132 in which I erroneously included this `sprintf()` in two places. I fixed one of the cases in r52151 but I missed the other. Follow-up to [52132], [52151]. Fixes #58436. See #44632. Built from https://develop.svn.wordpress.org/trunk@55875 git-svn-id: http://core.svn.wordpress.org/trunk@55387 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/formatting.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index 58cc0ec69b..9ea2b9f8fa 100644 --- a/wp-includes/formatting.php +++ b/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' ) ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 9c16236636..14714891bb 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.3-alpha-55874'; +$wp_version = '6.3-alpha-55875'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.