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

Props pento.
Fixes #42862.

git-svn-id: https://develop.svn.wordpress.org/trunk@42590 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2018-01-24 16:50:15 +00:00
parent bd6f3f617a
commit 9c39da15f4
2 changed files with 4 additions and 4 deletions

View File

@@ -2937,7 +2937,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.3/svg/' );
$hints['dns-prefetch'][] = apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/2.4/svg/' );
foreach ( $hints as $relation_type => $urls ) {
$unique_urls = array();