Make WordPress Core

Changeset 44644


Ignore:
Timestamp:
01/18/2019 01:41:41 AM (8 years ago)
Author:
pento
Message:

Emoji: Upgrade Twemoji to 11.2.0.

This upgrade includes general improvements to the style of a variety of emoji.

Full changelog: ​https://github.com/twitter/twemoji/compare/v11.0.0...v11.2.0

Props desrosj, pento.
Fixes #45133.

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/package-lock.json

    r44533 r44644  
    1527515275                },
    1527615276                "twemoji": {
    15277                         "version": "11.0.0",
    15278                         "resolved": "https://registry.npmjs.org/twemoji/-/twemoji-11.0.0.tgz",
    15279                         "integrity": "sha1-fuxX0Sv9H//o1efwXaC2QipgeQ8="
     15277                        "version": "11.2.0",
     15278                        "resolved": "https://registry.npmjs.org/twemoji/-/twemoji-11.2.0.tgz",
     15279                        "integrity": "sha512-DgTadXkRHugun6mjUf1k3ni04WC4jHOX1bN5MjuCM3nwRyIMdXIr8FmWzW5mEIZjht5jD3NaEyXC4j3POdQwyQ=="
    1528015280                },
    1528115281                "type-is": {
  • trunk/package.json

    r44533 r44644  
    108108                "react": "^16.6.3",
    109109                "react-dom": "^16.6.3",
    110                 "twemoji": "11.0.0",
     110                "twemoji": "11.2.0",
    111111                "underscore": "1.8.3",
    112112                "whatwg-fetch": "^3.0.0"
  • trunk/src/wp-includes/formatting.php

    r44635 r44644  
    53995399                 * @param string The emoji base URL for png images.
    54005400                 */
    5401                 'baseUrl' => apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/11/72x72/' ),
     5401                'baseUrl' => apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/11.2.0/72x72/' ),
    54025402
    54035403                /**
    … …  
    54175417                 * @param string The emoji base URL for svg images.
    54185418                 */
    5419                 'svgUrl'  => apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/11/svg/' ),
     5419                'svgUrl'  => apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/11.2.0/svg/' ),
    54205420
    54215421                /**
    … …  
    55415541
    55425542        /** This filter is documented in wp-includes/formatting.php */
    5543         $cdn_url = apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/11/72x72/' );
     5543        $cdn_url = apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/11.2.0/72x72/' );
    55445544
    55455545        /** This filter is documented in wp-includes/formatting.php */
  • trunk/src/wp-includes/general-template.php

    r44638 r44644  
    29632963         */
    29642964        /** This filter is documented in wp-includes/formatting.php */
    2965         $hints['dns-prefetch'][] = apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/11/svg/' );
     2965        $hints['dns-prefetch'][] = apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/11.2.0/svg/' );
    29662966
    29672967        foreach ( $hints as $relation_type => $urls ) {
  • trunk/tests/phpunit/tests/formatting/Emoji.php

    r43377 r44644  
    77class Tests_Formatting_Emoji extends WP_UnitTestCase {
    88
    9         private $png_cdn = 'https://s.w.org/images/core/emoji/11/72x72/';
    10         private $svn_cdn = 'https://s.w.org/images/core/emoji/11/svg/';
     9        private $png_cdn = 'https://s.w.org/images/core/emoji/11.2.0/72x72/';
     10        private $svn_cdn = 'https://s.w.org/images/core/emoji/11.2.0/svg/';
    1111
    1212        /**
Note: See TracChangeset for help on using the changeset viewer.