Make WordPress Core


Ignore:
Timestamp:
05/25/2017 07:17:57 AM (8 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/src/wp-includes/general-template.php

    r40817 r40837  
    28612861     */
    28622862    /** This filter is documented in wp-includes/formatting.php */
    2863     $hints['dns-prefetch'][] = apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/2.2.5/svg/' );
     2863    $hints['dns-prefetch'][] = apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/2.3/svg/' );
    28642864
    28652865    foreach ( $hints as $relation_type => $urls ) {
Note: See TracChangeset for help on using the changeset viewer.