WordPress.org

Make WordPress Core

Changeset 31881


Ignore:
Timestamp:
03/25/2015 04:08:07 AM (6 years ago)
Author:
pento
Message:

Emoji: Add a comment to print_emoji_detection_script() explaining how the include statement works as part of the grunt build process.

See #31701.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/formatting.php

    r31875 r31881  
    41574157        );
    41584158
     4159        /*
     4160         * If you're looking at a src version of this file, you'll see an "include"
     4161         * statement below. This is used by the `grunt build` process to directly
     4162         * include a minified version of wp-emoji-loader.js, instead of using the
     4163         * readfile() method from above.
     4164         *
     4165         * If you're looking at a build version of this file, you'll see a string of
     4166         * minified JavaScript. If you need to debug it, please turn on SCRIPT_DEBUG
     4167         * and edit wp-emoji-loader.js directly.
     4168         */
    41594169        ?>
    41604170        <script type="text/javascript">
Note: See TracChangeset for help on using the changeset viewer.