Emoji: Upgrade Twemoji to 11.2.0.
This upgrade includes general improvements to the style of a variety of emoji. Full changelog: https://github.com/twitter/twemoji/compare/v11.0.0...v11.2.0 Props desrosj, pento. Fixes #45133. git-svn-id: https://develop.svn.wordpress.org/trunk@44644 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
73cbf3ec7d
commit
d3ee420c14
6
package-lock.json
generated
6
package-lock.json
generated
@ -15274,9 +15274,9 @@
|
||||
"optional": true
|
||||
},
|
||||
"twemoji": {
|
||||
"version": "11.0.0",
|
||||
"resolved": "https://registry.npmjs.org/twemoji/-/twemoji-11.0.0.tgz",
|
||||
"integrity": "sha1-fuxX0Sv9H//o1efwXaC2QipgeQ8="
|
||||
"version": "11.2.0",
|
||||
"resolved": "https://registry.npmjs.org/twemoji/-/twemoji-11.2.0.tgz",
|
||||
"integrity": "sha512-DgTadXkRHugun6mjUf1k3ni04WC4jHOX1bN5MjuCM3nwRyIMdXIr8FmWzW5mEIZjht5jD3NaEyXC4j3POdQwyQ=="
|
||||
},
|
||||
"type-is": {
|
||||
"version": "1.6.16",
|
||||
|
@ -107,7 +107,7 @@
|
||||
"polyfill-library": "^3.26.0-0",
|
||||
"react": "^16.6.3",
|
||||
"react-dom": "^16.6.3",
|
||||
"twemoji": "11.0.0",
|
||||
"twemoji": "11.2.0",
|
||||
"underscore": "1.8.3",
|
||||
"whatwg-fetch": "^3.0.0"
|
||||
},
|
||||
|
@ -5398,7 +5398,7 @@ function _print_emoji_detection_script() {
|
||||
*
|
||||
* @param string The emoji base URL for png images.
|
||||
*/
|
||||
'baseUrl' => apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/11/72x72/' ),
|
||||
'baseUrl' => apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/11.2.0/72x72/' ),
|
||||
|
||||
/**
|
||||
* Filters the extension of the emoji png files.
|
||||
@ -5416,7 +5416,7 @@ function _print_emoji_detection_script() {
|
||||
*
|
||||
* @param string The emoji base URL for svg images.
|
||||
*/
|
||||
'svgUrl' => apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/11/svg/' ),
|
||||
'svgUrl' => apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/11.2.0/svg/' ),
|
||||
|
||||
/**
|
||||
* Filters the extension of the emoji SVG files.
|
||||
@ -5540,7 +5540,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/11/72x72/' );
|
||||
$cdn_url = apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/11.2.0/72x72/' );
|
||||
|
||||
/** This filter is documented in wp-includes/formatting.php */
|
||||
$ext = apply_filters( 'emoji_ext', '.png' );
|
||||
|
@ -2962,7 +2962,7 @@ function wp_resource_hints() {
|
||||
* The path is removed in the foreach loop below.
|
||||
*/
|
||||
/** This filter is documented in wp-includes/formatting.php */
|
||||
$hints['dns-prefetch'][] = apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/11/svg/' );
|
||||
$hints['dns-prefetch'][] = apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/11.2.0/svg/' );
|
||||
|
||||
foreach ( $hints as $relation_type => $urls ) {
|
||||
$unique_urls = array();
|
||||
|
@ -6,8 +6,8 @@
|
||||
*/
|
||||
class Tests_Formatting_Emoji extends WP_UnitTestCase {
|
||||
|
||||
private $png_cdn = 'https://s.w.org/images/core/emoji/11/72x72/';
|
||||
private $svn_cdn = 'https://s.w.org/images/core/emoji/11/svg/';
|
||||
private $png_cdn = 'https://s.w.org/images/core/emoji/11.2.0/72x72/';
|
||||
private $svn_cdn = 'https://s.w.org/images/core/emoji/11.2.0/svg/';
|
||||
|
||||
/**
|
||||
* @ticket 36525
|
||||
|
Loading…
Reference in New Issue
Block a user