Skip to content

Commit 1c76a16

Browse files
Docs: Add a @see reference to the wp_mail_content_type filter in wp_staticize_emoji_for_email().
Follow-up to [31860]. See #53399. git-svn-id: https://develop.svn.wordpress.org/trunk@51589 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 232c30f commit 1c76a16

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/wp-includes/formatting.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5876,11 +5876,11 @@ function wp_staticize_emoji_for_email( $mail ) {
58765876
}
58775877

58785878
/*
5879-
* We can only transform the emoji into images if it's a text/html email.
5879+
* We can only transform the emoji into images if it's a `text/html` email.
58805880
* To do that, here's a cut down version of the same process that happens
5881-
* in wp_mail() - get the Content-Type from the headers, if there is one,
5882-
* then pass it through the wp_mail_content_type filter, in case a plugin
5883-
* is handling changing the Content-Type.
5881+
* in wp_mail() - get the `Content-Type` from the headers, if there is one,
5882+
* then pass it through the {@see 'wp_mail_content_type'} filter, in case
5883+
* a plugin is handling changing the `Content-Type`.
58845884
*/
58855885
$headers = array();
58865886
if ( isset( $mail['headers'] ) ) {

0 commit comments

Comments
 (0)