WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/25/2017 07:17:57 AM (2 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/formatting.php

    r40667 r40837  
    50135013         * @param string The emoji base URL for png images.
    50145014         */
    5015         'baseUrl' => apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/2.2.5/72x72/' ),
     5015        'baseUrl' => apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/2.3/72x72/' ),
    50165016
    50175017        /**
     
    50315031         * @param string The emoji base URL for svg images.
    50325032         */
    5033         'svgUrl' => apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/2.2.5/svg/' ),
     5033        'svgUrl' => apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/2.3/svg/' ),
    50345034
    50355035        /**
     
    51435143
    51445144    /** This filter is documented in wp-includes/formatting.php */
    5145     $cdn_url = apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/2.2.5/72x72/' );
     5145    $cdn_url = apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/2.3/72x72/' );
    51465146
    51475147    /** This filter is documented in wp-includes/formatting.php */
Note: See TracChangeset for help on using the changeset viewer.