Make WordPress Core

Changeset 42591


Ignore:
Timestamp:
01/24/2018 04:53:50 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Emoji: Update emoji base URL in _print_emoji_detection_script() and wp_staticize_emoji().

Merges [42590] to the 4.9 branch.
Props pento.
Fixes #42862.

Location:
branches/4.9
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/src/wp-includes/formatting.php

    r42580 r42591  
    50345034         * @param string The emoji base URL for png images.
    50355035         */
    5036         'baseUrl' => apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/2.3/72x72/' ),
     5036        'baseUrl' => apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/2.4/72x72/' ),
    50375037
    50385038        /**
     
    50525052         * @param string The emoji base URL for svg images.
    50535053         */
    5054         'svgUrl' => apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/2.3/svg/' ),
     5054        'svgUrl' => apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/2.4/svg/' ),
    50555055
    50565056        /**
     
    51745174
    51755175    /** This filter is documented in wp-includes/formatting.php */
    5176     $cdn_url = apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/2.3/72x72/' );
     5176    $cdn_url = apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/2.4/72x72/' );
    51775177
    51785178    /** This filter is documented in wp-includes/formatting.php */
  • branches/4.9/src/wp-includes/general-template.php

    r42551 r42591  
    28862886     */
    28872887    /** This filter is documented in wp-includes/formatting.php */
    2888     $hints['dns-prefetch'][] = apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/2.3/svg/' );
     2888    $hints['dns-prefetch'][] = apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/2.4/svg/' );
    28892889
    28902890    foreach ( $hints as $relation_type => $urls ) {
Note: See TracChangeset for help on using the changeset viewer.