[wp-trac] [WordPress Trac] #40858: Upgrade Twemoji to 2.3.0
WordPress Trac
noreply at wordpress.org
Thu May 25 05:33:12 UTC 2017
#40858: Upgrade Twemoji to 2.3.0
---------------------------+-----------------------
Reporter: peterwilsoncc | Owner: pento
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.8
Component: Emoji | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
---------------------------+-----------------------
Changes (by peterwilsoncc):
* owner: peterwilsoncc => pento
Comment:
Updated tests:
* English flag using 5 letter sub-division code
* Replace emoji 4 tests with emoji 5's bearded person
Giving this to you @pento as you have the requisite CDN commit.
Local testing prior to the CDN being loaded will require the following
filters and hosting the images locally.
{{{#!php
<?php
function wp40858_filtered_emoji_svn_cdn( $cdn = '' ) {
return 'http://src.wordpress-develop.dev/path/to/svg/';
}
function wp40858_filtered_emoji_png_cdn( $cdn = '' ) {
return 'http://src.wordpress-develop.dev/path/to/72x72/';
}
add_filter( 'emoji_svg_url', 'wp40858_filtered_emoji_svn_cdn' );
add_filter( 'emoji_url', 'wp40858_filtered_emoji_png_cdn' );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40858#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list