Make WordPress Core


Ignore:
Timestamp:
05/25/2017 07:17:57 AM (7 years ago)
Author:
peterwilsoncc
Message:

Emoji: Add Emoji 5 support.

Updates Twemoji to 2.3.0 to include Emoji 5 support.

The pride flag test is replaced with a test for the English flag, a five character sub-devision locale. The UN flag test is retained as the most recent two character locale.

An Emoji 5 "bearded person" replaces both Emoji 4 tests.

Fixes #40858.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/formatting/Emoji.php

    r40626 r40837  
    99     */
    1010    public function test_unfiltered_emoji_cdns() {
    11         $png_cdn = 'https://s.w.org/images/core/emoji/2.2.5/72x72/';
    12         $svn_cdn = 'https://s.w.org/images/core/emoji/2.2.5/svg/';
     11        $png_cdn = 'https://s.w.org/images/core/emoji/2.3/72x72/';
     12        $svn_cdn = 'https://s.w.org/images/core/emoji/2.3/svg/';
    1313
    1414        $output = get_echo( '_print_emoji_detection_script' );
     
    2626     */
    2727    public function test_filtered_emoji_svn_cdn() {
    28         $png_cdn = 'https://s.w.org/images/core/emoji/2.2.5/72x72/';
    29         $svn_cdn = 'https://s.w.org/images/core/emoji/2.2.5/svg/';
     28        $png_cdn = 'https://s.w.org/images/core/emoji/2.3/72x72/';
     29        $svn_cdn = 'https://s.w.org/images/core/emoji/2.3/svg/';
    3030
    3131        $filtered_svn_cdn = $this->_filtered_emoji_svn_cdn();
     
    5050     */
    5151    public function test_filtered_emoji_png_cdn() {
    52         $png_cdn = 'https://s.w.org/images/core/emoji/2.2.5/72x72/';
    53         $svn_cdn = 'https://s.w.org/images/core/emoji/2.2.5/svg/';
     52        $png_cdn = 'https://s.w.org/images/core/emoji/2.3/72x72/';
     53        $svn_cdn = 'https://s.w.org/images/core/emoji/2.3/svg/';
    5454
    5555        $filtered_png_cdn = $this->_filtered_emoji_png_cdn();
Note: See TracChangeset for help on using the changeset viewer.