mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Emoji: Update Twemoji to version 2.2.5
Updates Twemoji and adds a second Emoji 4 test to include a shrugging man. Emoji 4 is being implemented gradually, while some browsers now support the female technologist, the indifferent shrugging man is breaking things with his presence. Props peterwilsoncc, pento for code review. Fixes #40615. git-svn-id: https://develop.svn.wordpress.org/trunk@40626 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -8,8 +8,8 @@ class Tests_Formatting_Emoji extends WP_UnitTestCase {
|
||||
* @ticket 36525
|
||||
*/
|
||||
public function test_unfiltered_emoji_cdns() {
|
||||
$png_cdn = 'https://s.w.org/images/core/emoji/2.2.1/72x72/';
|
||||
$svn_cdn = 'https://s.w.org/images/core/emoji/2.2.1/svg/';
|
||||
$png_cdn = 'https://s.w.org/images/core/emoji/2.2.5/72x72/';
|
||||
$svn_cdn = 'https://s.w.org/images/core/emoji/2.2.5/svg/';
|
||||
|
||||
$output = get_echo( '_print_emoji_detection_script' );
|
||||
|
||||
@@ -25,8 +25,8 @@ class Tests_Formatting_Emoji extends WP_UnitTestCase {
|
||||
* @ticket 36525
|
||||
*/
|
||||
public function test_filtered_emoji_svn_cdn() {
|
||||
$png_cdn = 'https://s.w.org/images/core/emoji/2.2.1/72x72/';
|
||||
$svn_cdn = 'https://s.w.org/images/core/emoji/2.2.1/svg/';
|
||||
$png_cdn = 'https://s.w.org/images/core/emoji/2.2.5/72x72/';
|
||||
$svn_cdn = 'https://s.w.org/images/core/emoji/2.2.5/svg/';
|
||||
|
||||
$filtered_svn_cdn = $this->_filtered_emoji_svn_cdn();
|
||||
|
||||
@@ -49,8 +49,8 @@ class Tests_Formatting_Emoji extends WP_UnitTestCase {
|
||||
* @ticket 36525
|
||||
*/
|
||||
public function test_filtered_emoji_png_cdn() {
|
||||
$png_cdn = 'https://s.w.org/images/core/emoji/2.2.1/72x72/';
|
||||
$svn_cdn = 'https://s.w.org/images/core/emoji/2.2.1/svg/';
|
||||
$png_cdn = 'https://s.w.org/images/core/emoji/2.2.5/72x72/';
|
||||
$svn_cdn = 'https://s.w.org/images/core/emoji/2.2.5/svg/';
|
||||
|
||||
$filtered_png_cdn = $this->_filtered_emoji_png_cdn();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user