WordPress.org

Make WordPress Core

Changeset 38764


Ignore:
Timestamp:
10/09/16 04:23:43 (8 months ago)
Author:
peterwilsoncc
Message:

Emoji: Update Emoji CDN filter default for resource hints.

Updates the default value for the filter emoji_svg_url used in wp_resource_hints() to match the default used for the filter in _print_emoji_detection_script().

See [38717], #38724.

File:
1 edited

Legend:

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

    r38707 r38764  
    28202820     */ 
    28212821    /** This filter is documented in wp-includes/formatting.php */ 
    2822     $hints['dns-prefetch'][] = apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/2/svg/' ); 
     2822    $hints['dns-prefetch'][] = apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/2.2.1/svg/' ); 
    28232823 
    28242824    foreach ( $hints as $relation_type => $urls ) { 
Note: See TracChangeset for help on using the changeset viewer.