WordPress.org

Make WordPress Core

Changeset 51589


Ignore:
Timestamp:
08/10/2021 12:52:15 PM (4 months ago)
Author:
SergeyBiryukov
Message:

Docs: Add a @see reference to the wp_mail_content_type filter in wp_staticize_emoji_for_email().

Follow-up to [31860].

See #53399.

File:
1 edited

Legend:

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

    r51552 r51589  
    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();
Note: See TracChangeset for help on using the changeset viewer.