Make WordPress Core


Ignore:
Timestamp:
03/15/2015 11:15:28 PM (9 years ago)
Author:
azaozz
Message:

Emoji:

  • Add the styling for the replacement images to the admin CSS.
  • Revert to using .emoji as replacement image class.
  • When pasting in the editor, convert emoji images to our format so we can replace them with chars on saving.
  • Some more clean up of both the plugin and wp-emoji.js.

See #31242.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/default-filters.php

    r31733 r31786  
    255255add_action( 'admin_print_footer_scripts', '_wp_footer_scripts'                             );
    256256add_action( 'admin_print_styles',         'print_admin_styles',                      20    );
    257 add_action( 'admin_print_styles',         'print_emoji_styles'                             );
    258257add_action( 'init',                       'smilies_init',                             5    );
    259258add_action( 'plugins_loaded',             'wp_maybe_load_widgets',                    0    );
Note: See TracChangeset for help on using the changeset viewer.