From 1c76a1652d7ca892e00f89a16f906bce4223e723 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 10 Aug 2021 12:52:15 +0000 Subject: [PATCH] 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 --- src/wp-includes/formatting.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php index 9fc4e185d6..05a535bab3 100644 --- a/src/wp-includes/formatting.php +++ b/src/wp-includes/formatting.php @@ -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'] ) ) {