diff options
author | Andrew Ozz <azaozz@git.wordpress.org> | 2023-02-02 00:51:02 +0000 |
---|---|---|
committer | Andrew Ozz <azaozz@git.wordpress.org> | 2023-02-02 00:51:02 +0000 |
commit | 4dd9160d8ed2e41cd1ebd084e97eecbfd405421c (patch) | |
tree | fbe5c2efadc3b31d759e688b61ee486949e8cfbb /Gruntfile.js | |
parent | 6b4b2eb60f6686301d0f97f77b475e8d036fe2c4 (diff) | |
download | wordpress-4dd9160d8ed2e41cd1ebd084e97eecbfd405421c.tar.gz wordpress-4dd9160d8ed2e41cd1ebd084e97eecbfd405421c.zip |
Emoji: Always skip nodes with the `wp-exclude-emoji` CSS class.
Patches twemoji.js to add support for a `doNotParse()` callback. Uses that callback to always exclude emojis in HTML elements with the above class.
Props: dd32, peterwilsoncc, azaozz.
Fixes #52219.
git-svn-id: https://develop.svn.wordpress.org/trunk@55186 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 7f7d7fa661..86e8880144 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -193,13 +193,13 @@ module.exports = function(grunt) { // Renamed to avoid conflict with jQuery hoverIntent.min.js (after minifying). [ WORKING_DIR + 'wp-includes/js/hoverintent-js.min.js' ]: [ './node_modules/hoverintent/dist/hoverintent.min.js' ], + [ WORKING_DIR + 'wp-includes/js/imagesloaded.min.js' ]: [ './node_modules/imagesloaded/imagesloaded.pkgd.min.js' ], [ WORKING_DIR + 'wp-includes/js/jquery/jquery.js' ]: [ './node_modules/jquery/dist/jquery.js' ], [ WORKING_DIR + 'wp-includes/js/jquery/jquery.min.js' ]: [ './node_modules/jquery/dist/jquery.min.js' ], [ WORKING_DIR + 'wp-includes/js/jquery/jquery.form.js' ]: [ './node_modules/jquery-form/src/jquery.form.js' ], [ WORKING_DIR + 'wp-includes/js/jquery/jquery.color.min.js' ]: [ './node_modules/jquery-color/dist/jquery.color.min.js' ], [ WORKING_DIR + 'wp-includes/js/masonry.min.js' ]: [ './node_modules/masonry-layout/dist/masonry.pkgd.min.js' ], - [ WORKING_DIR + 'wp-includes/js/twemoji.js' ]: [ './node_modules/twemoji/dist/twemoji.js' ], [ WORKING_DIR + 'wp-includes/js/underscore.js' ]: [ './node_modules/underscore/underscore.js' ], } ] |