mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-03 22:27:04 +00:00
Emoji: Update Twemoji to version 11.0.
🦹 Props kraftbj, Fixes #44339. git-svn-id: https://develop.svn.wordpress.org/trunk@43377 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -99,16 +99,17 @@
|
||||
return ! isIdentical;
|
||||
case 'emoji':
|
||||
/*
|
||||
* Emoji allows people of all gender levitate and so does WordPress.
|
||||
* She's the hero Emoji deserves, but not the one it needs right now.
|
||||
*
|
||||
* To test for support, try to render a new emoji (woman in business suit levitating),
|
||||
* To test for support, try to render a new emoji (female superhero),
|
||||
* then compare it to how it would look if the browser doesn't render it correctly
|
||||
* (person in business suit levitating + female sign).
|
||||
* (superhero + female sign) .
|
||||
*/
|
||||
isIdentical = emojiSetsRenderIdentically(
|
||||
[55357, 56692, 8205, 9792, 65039],
|
||||
[55357, 56692, 8203, 9792, 65039]
|
||||
[55358, 56760, 9792, 65039],
|
||||
[55358, 56760, 8203, 9792, 65039]
|
||||
);
|
||||
|
||||
return ! isIdentical;
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -2937,7 +2937,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/2.4/svg/' );
|
||||
$hints['dns-prefetch'][] = apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/11/svg/' );
|
||||
|
||||
foreach ( $hints as $relation_type => $urls ) {
|
||||
$unique_urls = array();
|
||||
|
||||
Reference in New Issue
Block a user