Skip to content

Commit 530fd02

Browse files
committed
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. git-svn-id: https://develop.svn.wordpress.org/trunk@55875 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 4658c44 commit 530fd02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/formatting.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5913,7 +5913,7 @@ function _print_emoji_detection_script() {
59135913

59145914
wp_print_inline_script_tag(
59155915
sprintf( 'window._wpemojiSettings = %s;', wp_json_encode( $settings ) ) . "\n" .
5916-
file_get_contents( sprintf( ABSPATH . WPINC . '/js/wp-emoji-loader' . wp_scripts_get_suffix() . '.js' ) )
5916+
file_get_contents( ABSPATH . WPINC . '/js/wp-emoji-loader' . wp_scripts_get_suffix() . '.js' )
59175917
);
59185918
}
59195919

0 commit comments

Comments
 (0)