mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 21:00:21 +00:00
Emoji: Add support for the upcoming Emoji 4 release.
Emoji 4 adds 32 new professions, (with variations for gender and skin tone), and updates 33 existing character for male and female variations. Fixes #38113 for trunk. git-svn-id: https://develop.svn.wordpress.org/trunk@38717 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -4948,7 +4948,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/72x72/' ),
|
||||
'baseUrl' => apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/2.2.1/72x72/' ),
|
||||
|
||||
/**
|
||||
* Filters the extension of the emoji png files.
|
||||
@@ -4966,7 +4966,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/svg/' ),
|
||||
'svgUrl' => apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/2.2.1/svg/' ),
|
||||
|
||||
/**
|
||||
* Filters the extension of the emoji SVG files.
|
||||
@@ -5078,7 +5078,7 @@ function wp_staticize_emoji( $text ) {
|
||||
$text = wp_encode_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/72x72/' );
|
||||
$cdn_url = apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/2.2.1/72x72/' );
|
||||
|
||||
/** This filter is documented in wp-includes/formatting.php */
|
||||
$ext = apply_filters( 'emoji_ext', '.png' );
|
||||
|
||||
Reference in New Issue
Block a user