Make WordPress Core


Ignore:
Timestamp:
03/11/2015 10:48:16 PM (11 years ago)
Author:
pento
Message:

Add emoji support, with Twemoji fallback.

Replace exisiting smilies with equivalent emoji, or with shiny new smiley images where no emoji existed.

Props batmoo, joen and mkaz for the original plugin upon which this is based.

Props pento, iseulde, kraftbj and peterwilsoncc for making the internet's dreams come true.

See #31242

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/dependencies/styles.php

    r31031 r31733  
    1313                $this->old_wp_styles = $GLOBALS['wp_styles'];
    1414                remove_action( 'wp_default_styles', 'wp_default_styles' );
     15                remove_action( 'wp_print_styles', 'print_emoji_styles' );
    1516                $GLOBALS['wp_styles'] = new WP_Styles();
    1617                $GLOBALS['wp_styles']->default_version = get_bloginfo( 'version' );
     
    2021                $GLOBALS['wp_styles'] = $this->old_wp_styles;
    2122                add_action( 'wp_default_styles', 'wp_default_styles' );
     23                add_action( 'wp_print_styles', 'print_emoji_styles' );
    2224                parent::tearDown();
    2325        }
Note: See TracChangeset for help on using the changeset viewer.