Make WordPress Core


Ignore:
Timestamp:
04/20/2015 04:14:32 AM (9 years ago)
Author:
nacin
Message:

Clean up wp_staticize_emoji() and friends.

  • DOMDocument was removed in [31752] but not the check.
  • wp_staticize_emoji() has never accepted a second arg; remove it from calls.
  • Remove wp_staticize_emoji_for_feeds(), no need for it.
  • Remove _ and @ignore from wp_staticize_emoji_for_email(), no need for it.

see #31242.

File:
1 edited

Legend:

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

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