From ffb703c002bc0b625f3c10d9580143d22cd41451 Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Sun, 9 Oct 2016 04:24:31 +0000 Subject: [PATCH] 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. Built from https://develop.svn.wordpress.org/trunk@38764 git-svn-id: http://core.svn.wordpress.org/trunk@38707 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/general-template.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index e2042298ae..75a4bdf5bd 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -2819,7 +2819,7 @@ function wp_resource_hints() { * The path is removed in the foreach loop below. */ /** This filter is documented in wp-includes/formatting.php */ - $hints['dns-prefetch'][] = apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/2/svg/' ); + $hints['dns-prefetch'][] = apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/2.2.1/svg/' ); foreach ( $hints as $relation_type => $urls ) { /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 29ff31b4a9..2e35c2bf2c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-alpha-38763'; +$wp_version = '4.7-alpha-38764'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.