WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/18/2016 07:34:24 AM (4 years ago)
Author:
pento
Message:

Emoji: Update to Unicode 9.0 emoji.

This includes a new test in the emoji loader, to see if the browser supports rendering Unicode 9.0 emoji, as well as an update to twemoji.js, to load Unicode 9.0 twemoji images.

The default CDN location for loading Twemoji images has changed, moving to a versioned subdirectory. This allows updates without needing to purge the CDN.

Fixes #37361.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/formatting.php

    r37985 r38087  
    49424942         * @param string The emoji base URL for png images.
    49434943         */
    4944         'baseUrl' => apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/72x72/' ),
     4944        'baseUrl' => apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/2/72x72/' ),
    49454945
    49464946        /**
     
    49604960         * @param string The emoji base URL for svg images.
    49614961         */
    4962         'svgUrl' => apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/svg/' ),
     4962        'svgUrl' => apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/2/svg/' ),
    49634963
    49644964        /**
     
    50725072
    50735073    /** This filter is documented in wp-includes/formatting.php */
    5074     $cdn_url = apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/72x72/' );
     5074    $cdn_url = apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/2/72x72/' );
    50755075
    50765076    /** This filter is documented in wp-includes/formatting.php */
Note: See TracChangeset for help on using the changeset viewer.