We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a3a9c9 commit 2bc812dCopy full SHA for 2bc812d
src/wp-includes/formatting.php
@@ -5985,8 +5985,10 @@ function _print_emoji_detection_script() {
5985
)
5986
);
5987
5988
+ $emoji_loader_script_path = '/js/wp-emoji-loader' . wp_scripts_get_suffix() . '.js';
5989
wp_print_inline_script_tag(
- file_get_contents( ABSPATH . WPINC . '/js/wp-emoji-loader' . wp_scripts_get_suffix() . '.js' ),
5990
+ rtrim( file_get_contents( ABSPATH . WPINC . $emoji_loader_script_path ) ) . "\n" .
5991
+ '//# sourceURL=' . includes_url( $emoji_loader_script_path ),
5992
array(
5993
'type' => 'module',
5994
0 commit comments