Docs: Add a `@see` reference to the `wp_mail_content_type` filter in `wp_staticize_emoji_for_email()`.
Follow-up to [31860]. See #53399. Built from https://develop.svn.wordpress.org/trunk@51589 git-svn-id: http://core.svn.wordpress.org/trunk@51200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8e5b18b6f3
commit
31c5fc58f2
|
@ -5876,11 +5876,11 @@ function wp_staticize_emoji_for_email( $mail ) {
|
|||
}
|
||||
|
||||
/*
|
||||
* We can only transform the emoji into images if it's a text/html email.
|
||||
* We can only transform the emoji into images if it's a `text/html` email.
|
||||
* To do that, here's a cut down version of the same process that happens
|
||||
* in wp_mail() - get the Content-Type from the headers, if there is one,
|
||||
* then pass it through the wp_mail_content_type filter, in case a plugin
|
||||
* is handling changing the Content-Type.
|
||||
* in wp_mail() - get the `Content-Type` from the headers, if there is one,
|
||||
* then pass it through the {@see 'wp_mail_content_type'} filter, in case
|
||||
* a plugin is handling changing the `Content-Type`.
|
||||
*/
|
||||
$headers = array();
|
||||
if ( isset( $mail['headers'] ) ) {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.9-alpha-51588';
|
||||
$wp_version = '5.9-alpha-51589';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue