From 1b85aa404d1a70f3e31f4e431b9ce6c61a2ec85a Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Mon, 8 May 2017 05:04:52 +0000 Subject: [PATCH] Emoji: Make the UN flag test more accurate. Previously, the UN flag test relied on the image being produced to be quite small. Unfortunately, the Chrome PNG encoder seems to have changed recently, and it now produces a relatively large image. For a better test, we can compare the rendering of [U] + [N] against [U] + zero width space + [N]. Fixes #40616. Built from https://develop.svn.wordpress.org/trunk@40582 git-svn-id: http://core.svn.wordpress.org/trunk@40452 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/formatting.php | 2 +- wp-includes/js/wp-emoji-loader.js | 22 +++++++++++++--------- wp-includes/js/wp-emoji-loader.min.js | 2 +- wp-includes/version.php | 2 +- 4 files changed, 16 insertions(+), 12 deletions(-) diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index 4e8f63dbbb..c9fbd679cf 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -5077,7 +5077,7 @@ function _print_emoji_detection_script() { ?>