From 2cd6aef68078a75466ac03bfbe6c184eda283f0b Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Tue, 20 Oct 2020 16:53:43 +0000 Subject: [PATCH] Emoji: Update Twemoji to version 13.0.1. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This release fixes minor issues with 8 different Emoji and revises the person/woman/man kneeling Emoji to be in a more obvious kneeling position. 🧎 These updates were pushed to a new, `13.0.1` folder on the CDN in [dotorg:16573]. For a full list of changes in this update, see https://github.com/twitter/twemoji/compare/v13.0.0...v13.0.1. Props hareesh-pillai, otto42, desrosj. Fixes #51356. git-svn-id: https://develop.svn.wordpress.org/trunk@49239 602fd350-edb4-49c9-b593-d223f7449a82 --- package-lock.json | 6 +++--- package.json | 2 +- src/wp-includes/formatting.php | 6 +++--- tests/phpunit/tests/formatting/Emoji.php | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7e4873697e..de5ab2fb23 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25678,9 +25678,9 @@ "dev": true }, "twemoji": { - "version": "13.0.0", - "resolved": "https://registry.npmjs.org/twemoji/-/twemoji-13.0.0.tgz", - "integrity": "sha512-JIkoLy0lL7ZlsiUKAOdXTp0o8C15O3CzDzAmnWdeDHpjeifmKDDKX4CyViUj+9g33pIqMr8Uhcy1WLwETr8oNg==", + "version": "13.0.1", + "resolved": "https://registry.npmjs.org/twemoji/-/twemoji-13.0.1.tgz", + "integrity": "sha512-mrTBq+XpCLM4zm76NJOjLHoQNV9mHdBt3Cba/T5lS1rxn8ArwpqE47mqTocupNlkvcLxoeZJjYSUW0DU5ZwqZg==", "requires": { "fs-extra": "^8.0.1", "jsonfile": "^5.0.0", diff --git a/package.json b/package.json index 476a31304f..9d1519ba58 100644 --- a/package.json +++ b/package.json @@ -143,7 +143,7 @@ "polyfill-library": "3.42.0", "react": "16.13.1", "react-dom": "16.13.1", - "twemoji": "13.0.0", + "twemoji": "13.0.1", "underscore": "1.8.3", "whatwg-fetch": "3.0.0" }, diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php index 54b05f4201..1cd43ab17f 100644 --- a/src/wp-includes/formatting.php +++ b/src/wp-includes/formatting.php @@ -5665,7 +5665,7 @@ function _print_emoji_detection_script() { * * @param string $url The emoji base URL for png images. */ - 'baseUrl' => apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/13.0.0/72x72/' ), + 'baseUrl' => apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/13.0.1/72x72/' ), /** * Filters the extension of the emoji png files. @@ -5683,7 +5683,7 @@ function _print_emoji_detection_script() { * * @param string $url The emoji base URL for svg images. */ - 'svgUrl' => apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/13.0.0/svg/' ), + 'svgUrl' => apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/13.0.1/svg/' ), /** * Filters the extension of the emoji SVG files. @@ -5798,7 +5798,7 @@ function wp_staticize_emoji( $text ) { } /** This filter is documented in wp-includes/formatting.php */ - $cdn_url = apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/13.0.0/72x72/' ); + $cdn_url = apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/13.0.1/72x72/' ); /** This filter is documented in wp-includes/formatting.php */ $ext = apply_filters( 'emoji_ext', '.png' ); diff --git a/tests/phpunit/tests/formatting/Emoji.php b/tests/phpunit/tests/formatting/Emoji.php index 211848d7c6..8ddb5bc05b 100644 --- a/tests/phpunit/tests/formatting/Emoji.php +++ b/tests/phpunit/tests/formatting/Emoji.php @@ -6,8 +6,8 @@ */ class Tests_Formatting_Emoji extends WP_UnitTestCase { - private $png_cdn = 'https://s.w.org/images/core/emoji/13.0.0/72x72/'; - private $svn_cdn = 'https://s.w.org/images/core/emoji/13.0.0/svg/'; + private $png_cdn = 'https://s.w.org/images/core/emoji/13.0.1/72x72/'; + private $svn_cdn = 'https://s.w.org/images/core/emoji/13.0.1/svg/'; /** * @ticket 36525