mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-14 01:24:27 +00:00
Emoji: Rename the email and feed filter functions to be _ prefixed, and @ignore-d in the PHPDocs.
See #31242 git-svn-id: https://develop.svn.wordpress.org/trunk@31791 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -4192,12 +4192,13 @@ function wp_staticize_emoji( $text ) {
|
||||
/**
|
||||
* Convert emoji in emails into static images.
|
||||
*
|
||||
* @ignore
|
||||
* @since 4.2.0
|
||||
*
|
||||
* @param array $mail The email data array.
|
||||
* @return array The email data array, with emoji in the message staticized.
|
||||
*/
|
||||
function mail_emoji( $mail ) {
|
||||
function _wp_staticize_emoji_for_email( $mail ) {
|
||||
$mail['message'] = wp_staticize_emoji( $mail['message'], true );
|
||||
return $mail;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user