diff --git src/wp-includes/js/wp-emoji-loader.js src/wp-includes/js/wp-emoji-loader.js
index b267e99dcf..169ee89af2 100644
|
|
|
51 | 51 | context.clearRect( 0, 0, canvas.width, canvas.height ); |
52 | 52 | |
53 | 53 | // Add a zero width space between the characters, to force rendering as characters. |
54 | | context.fillText( stringFromCharCode( 55356, 57331, 8203, 55356, 57096 ), 0, 0 ); |
| 54 | context.fillText( stringFromCharCode( 55356, 56826, 8203, 55356, 56819 ), 0, 0 ); |
55 | 55 | flag2 = canvas.toDataURL(); |
56 | 56 | |
57 | 57 | if ( flag !== flag2 ) { |
… |
… |
|
79 | 79 | return flag !== flag2; |
80 | 80 | case 'emoji4': |
81 | 81 | /* |
82 | | * Emoji 5 has the bushiest beards. So does WordPress! |
| 82 | * Emoji 5 has faries of all genders. |
83 | 83 | * |
84 | | * To test for support, try to render a new emoji (bearded person: light skin tone), |
85 | | * then compare it to how it would look if the browser doesn't render it correctly |
86 | | * (bearded person + Fitzpatrick modifier). |
| 84 | * To test for support, try to render a new emoji (fairy, male), then compares |
| 85 | * it to how it would look if the browser doesn't render it correctly |
| 86 | * (fairy + male sign). |
87 | 87 | */ |
88 | | context.fillText( stringFromCharCode( 55358, 56788, 55356, 57339 ), 0, 0 ); |
| 88 | context.fillText( stringFromCharCode( 55358, 56794, 8205, 9794, 65039 ), 0, 0 ); |
89 | 89 | emoji41 = canvas.toDataURL(); |
90 | 90 | |
91 | 91 | context.clearRect( 0, 0, canvas.width, canvas.height ); |
92 | 92 | |
93 | | context.fillText( stringFromCharCode( 55358, 56788, 8203, 55356, 57339 ), 0, 0 ); |
| 93 | context.fillText( stringFromCharCode( 55358, 56794, 8203, 9794, 65039 ), 0, 0 ); |
94 | 94 | emoji42 = canvas.toDataURL(); |
95 | 95 | |
96 | 96 | return emoji41 !== emoji42; |