[wp-trac] [WordPress Trac] #32140: Emoji conversion

WordPress Trac noreply at wordpress.org
Mon Apr 27 02:14:32 UTC 2015


#32140: Emoji conversion
--------------------------+-----------------------------
 Reporter:  XgoikenX      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Since 4.2. the following is included in `~/wp-includes/default-
 filters.php`


 {{{
 add_filter( 'the_content_feed',   'wp_staticize_emoji'            );
 add_filter( 'comment_text_rss',   'wp_staticize_emoji'            );
 add_filter( 'wp_mail', 'wp_staticize_emoji_for_email' );
 add_action( 'wp_head',             'print_emoji_detection_script',     7
 );
 add_action( 'wp_print_styles',     'print_emoji_styles'
 );
 add_action( 'admin_print_scripts',        'print_emoji_detection_script'
 );
 add_action( 'admin_print_styles',         'print_emoji_styles'
 );
 }}}

 The purpose of those invocations appears to be to include
 [http://pastebin.com/d45CJ1RW/ js & css] code that replaces emoji with
 images. As the user’s explicit input is overwrittten, I feel this would
 require an opt-in or at the very least it should be be much more easily
 disabled. E.g. by unchecking 'convert emoticons like `:-)` and `:-P` to
 graphics on display'.

 (ATM users have to add a `remove_filter` to the childtheme’s functions.php
 for each filter).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32140>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list