diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php index 6a3a66e7af..e08466d2ac 100644 --- a/src/wp-includes/formatting.php +++ b/src/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. + */ ?>