wp/wp-includes/js/wp-emoji-loader.js
changeset 19 3d72ae0968f4
parent 18 be944660c56a
child 21 48c4eec2b7e6
--- a/wp/wp-includes/js/wp-emoji-loader.js	Wed Sep 21 18:19:35 2022 +0200
+++ b/wp/wp-includes/js/wp-emoji-loader.js	Tue Sep 27 16:37:53 2022 +0200
@@ -115,23 +115,26 @@
 				return ! isIdentical;
 			case 'emoji':
 				/*
-				 * Burning Love: Just a hunk, a hunk of burnin' love.
+				 * Why can't we be friends? Everyone can now shake hands in emoji, regardless of skin tone!
 				 *
-				 *  To test for Emoji 13.1 support, try to render a new emoji: Heart on Fire!
+				 * To test for Emoji 14.0 support, try to render a new emoji: Handshake: Light Skin Tone, Dark Skin Tone.
+				 *
+				 * The Handshake: Light Skin Tone, Dark Skin Tone emoji is a ZWJ sequence combining 🫱 Rightwards Hand,
+				 * 🏻 Light Skin Tone, a Zero Width Joiner, 🫲 Leftwards Hand, and 🏿 Dark Skin Tone.
 				 *
-				 * The Heart on Fire emoji is a ZWJ sequence combining ❤️ Red Heart, a Zero Width Joiner and 🔥 Fire.
-				 *
-				 * 0x2764, 0xfe0f == Red Heart emoji.
-				 * 0x200D == Zero-Width Joiner (ZWJ) that links the two code points for the new emoji or
+				 * 0x1FAF1 == Rightwards Hand
+				 * 0x1F3FB == Light Skin Tone
+				 * 0x200D == Zero-Width Joiner (ZWJ) that links the code points for the new emoji or
 				 * 0x200B == Zero-Width Space (ZWS) that is rendered for clients not supporting the new emoji.
-				 * 0xD83D, 0xDD25 == Fire.
+				 * 0x1FAF2 == Leftwards Hand
+				 * 0x1F3FF == Dark Skin Tone.
 				 *
 				 * When updating this test for future Emoji releases, ensure that individual emoji that make up the
 				 * sequence come from older emoji standards.
 				 */
 				isIdentical = emojiSetsRenderIdentically(
-					[0x2764, 0xfe0f, 0x200D, 0xD83D, 0xDD25],
-					[0x2764, 0xfe0f, 0x200B, 0xD83D, 0xDD25]
+					[0x1FAF1, 0x1F3FB, 0x200D, 0x1FAF2, 0x1F3FF],
+					[0x1FAF1, 0x1F3FB, 0x200B, 0x1FAF2, 0x1F3FF]
 				);
 
 				return ! isIdentical;