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
This commit is contained in:
parent
45edc9ec57
commit
ffb703c002
|
@ -2819,7 +2819,7 @@ function wp_resource_hints() {
|
||||||
* The path is removed in the foreach loop below.
|
* The path is removed in the foreach loop below.
|
||||||
*/
|
*/
|
||||||
/** This filter is documented in wp-includes/formatting.php */
|
/** 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 ) {
|
foreach ( $hints as $relation_type => $urls ) {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue