Make WordPress Core

Changeset 42590


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

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

Props pento.
Fixes #42862.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

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

    r42579 r42590  
    53265326         * @param string The emoji base URL for png images.
    53275327         */
    5328         'baseUrl' => apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/2.3/72x72/' ),
     5328        'baseUrl' => apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/2.4/72x72/' ),
    53295329
    53305330        /**
     
    53445344         * @param string The emoji base URL for svg images.
    53455345         */
    5346         'svgUrl'  => apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/2.3/svg/' ),
     5346        'svgUrl'  => apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/2.4/svg/' ),
    53475347
    53485348        /**
     
    54665466
    54675467    /** This filter is documented in wp-includes/formatting.php */
    5468     $cdn_url = apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/2.3/72x72/' );
     5468    $cdn_url = apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/2.4/72x72/' );
    54695469
    54705470    /** This filter is documented in wp-includes/formatting.php */
  • trunk/src/wp-includes/general-template.php

    r42531 r42590  
    29382938     */
    29392939    /** This filter is documented in wp-includes/formatting.php */
    2940     $hints['dns-prefetch'][] = apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/2.3/svg/' );
     2940    $hints['dns-prefetch'][] = apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/2.4/svg/' );
    29412941
    29422942    foreach ( $hints as $relation_type => $urls ) {
Note: See TracChangeset for help on using the changeset viewer.