mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Emoji: Update emoji base URL in _print_emoji_detection_script()
and wp_staticize_emoji()
.
Props pento. Fixes #42862. Built from https://develop.svn.wordpress.org/trunk@42590 git-svn-id: http://core.svn.wordpress.org/trunk@42419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
488df7c563
commit
ee58ffcbe7
@ -5325,7 +5325,7 @@ function _print_emoji_detection_script() {
|
||||
*
|
||||
* @param string The emoji base URL for png images.
|
||||
*/
|
||||
'baseUrl' => apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/2.3/72x72/' ),
|
||||
'baseUrl' => apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/2.4/72x72/' ),
|
||||
|
||||
/**
|
||||
* Filters the extension of the emoji png files.
|
||||
@ -5343,7 +5343,7 @@ function _print_emoji_detection_script() {
|
||||
*
|
||||
* @param string The emoji base URL for svg images.
|
||||
*/
|
||||
'svgUrl' => apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/2.3/svg/' ),
|
||||
'svgUrl' => apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/2.4/svg/' ),
|
||||
|
||||
/**
|
||||
* Filters the extension of the emoji SVG files.
|
||||
@ -5465,7 +5465,7 @@ function wp_staticize_emoji( $text ) {
|
||||
}
|
||||
|
||||
/** This filter is documented in wp-includes/formatting.php */
|
||||
$cdn_url = apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/2.3/72x72/' );
|
||||
$cdn_url = apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/2.4/72x72/' );
|
||||
|
||||
/** This filter is documented in wp-includes/formatting.php */
|
||||
$ext = apply_filters( 'emoji_ext', '.png' );
|
||||
|
@ -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();
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.0-alpha-42588';
|
||||
$wp_version = '5.0-alpha-42590';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user