Ticket #44339: 44339.2.diff
File 44339.2.diff, 4.4 KB (added by , 5 years ago) |
---|
-
package-lock.json
3503 3503 "fsevents": { 3504 3504 "version": "1.1.3", 3505 3505 "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.1.3.tgz", 3506 "integrity": "sha 512-WIr7iDkdmdbxu/Gh6eKEZJL6KPE74/5MEsf2whTOFNxbIoIixogroLdKYqB6FDav4Wavh/lZdzzd3b2KxIXC5Q==",3506 "integrity": "sha1-EfgjGPX+e7LNIpZaEI6TBiCCFtg=", 3507 3507 "dev": true, 3508 3508 "optional": true, 3509 3509 "requires": { … … 10696 10696 "optional": true 10697 10697 }, 10698 10698 "twemoji": { 10699 "version": " 2.5.1",10700 "resolved": "https://registry.npmjs.org/twemoji/-/twemoji- 2.5.1.tgz",10701 "integrity": "sha1- KWZHxhY8fwR0WIccKuviXqj/6DQ="10699 "version": "11.0.0", 10700 "resolved": "https://registry.npmjs.org/twemoji/-/twemoji-11.0.0.tgz", 10701 "integrity": "sha1-fuxX0Sv9H//o1efwXaC2QipgeQ8=" 10702 10702 }, 10703 10703 "type-is": { 10704 10704 "version": "1.6.16", -
package.json
53 53 "jquery-hoverintent": "1.8.3", 54 54 "jquery-ui": "github:jquery/jquery-ui#1.11.4", 55 55 "masonry-layout": "3.3.2", 56 "twemoji": " 2.5.1",56 "twemoji": "11.0.0", 57 57 "underscore": "1.8.3" 58 58 } 59 59 } -
src/js/_enqueues/lib/emoji-loader.js
95 95 return ! isIdentical; 96 96 case 'emoji': 97 97 /* 98 * Emoji allows people of all gender levitate and so does WordPress.98 * She's the hero Emoji deserves, but not the one it needs right now. 99 99 * 100 * To test for support, try to render a new emoji ( woman in business suit levitating),100 * To test for support, try to render a new emoji (female superhero), 101 101 * then compare it to how it would look if the browser doesn't render it correctly 102 * ( person in business suit levitating + female sign).102 * (superhero + female sign) . 103 103 */ 104 104 isIdentical = emojiSetsRenderIdentically( 105 [5535 7, 56692, 8205, 9792, 65039],106 [5535 7, 56692, 8203, 9792, 65039]105 [55358, 56760, 8205, 9792, 65039], 106 [55358, 56760, 8203, 9792, 65039] 107 107 ); 108 108 109 return ! isIdentical; 109 110 } 110 111 -
src/wp-includes/formatting.php
5388 5388 * 5389 5389 * @param string The emoji base URL for png images. 5390 5390 */ 5391 'baseUrl' => apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/ 2.4/72x72/' ),5391 'baseUrl' => apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/11/72x72/' ), 5392 5392 5393 5393 /** 5394 5394 * Filters the extension of the emoji png files. … … 5406 5406 * 5407 5407 * @param string The emoji base URL for svg images. 5408 5408 */ 5409 'svgUrl' => apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/ 2.4/svg/' ),5409 'svgUrl' => apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/11/svg/' ), 5410 5410 5411 5411 /** 5412 5412 * Filters the extension of the emoji SVG files. -
src/wp-includes/general-template.php
2937 2937 * The path is removed in the foreach loop below. 2938 2938 */ 2939 2939 /** This filter is documented in wp-includes/formatting.php */ 2940 $hints['dns-prefetch'][] = apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/ 2.4/svg/' );2940 $hints['dns-prefetch'][] = apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/11/svg/' ); 2941 2941 2942 2942 foreach ( $hints as $relation_type => $urls ) { 2943 2943 $unique_urls = array(); -
tests/phpunit/tests/formatting/Emoji.php
6 6 */ 7 7 class Tests_Formatting_Emoji extends WP_UnitTestCase { 8 8 9 private $png_cdn = 'https://s.w.org/images/core/emoji/ 2.4/72x72/';10 private $svn_cdn = 'https://s.w.org/images/core/emoji/ 2.4/svg/';9 private $png_cdn = 'https://s.w.org/images/core/emoji/11/72x72/'; 10 private $svn_cdn = 'https://s.w.org/images/core/emoji/11/svg/'; 11 11 12 12 /** 13 13 * @ticket 36525