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