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/src/wp-includes/feed.php

    r30681 r31733  
    650650    return $feed;
    651651}
     652
     653/**
     654 * Convert emoji characters in a feed into static images.
     655 *
     656 * @param string $content The content to convert.
     657 *
     658 * @return The converted content.
     659 */
     660function feed_emoji( $content ) {
     661    return wp_staticize_emoji( $content, true );
     662}
Note: See TracChangeset for help on using the changeset viewer.