diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index e6f44c851e..2797741bb2 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -4156,6 +4156,16 @@ function print_emoji_detection_script() { 'concatemoji' => includes_url( "js/wp-emoji-release.min.js?$version" ), ); + /* + * If you're looking at a src version of this file, you'll see an "include" + * statement below. This is used by the `grunt build` process to directly + * include a minified version of wp-emoji-loader.js, instead of using the + * readfile() method from above. + * + * If you're looking at a build version of this file, you'll see a string of + * minified JavaScript. If you need to debug it, please turn on SCRIPT_DEBUG + * and edit wp-emoji-loader.js directly. + */ ?>