Changeset 51589 for trunk/src/wp-includes/formatting.php
- Timestamp:
- 08/10/2021 12:52:15 PM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r51552 r51589 5877 5877 5878 5878 /* 5879 * We can only transform the emoji into images if it's a text/htmlemail.5879 * We can only transform the emoji into images if it's a `text/html` email. 5880 5880 * To do that, here's a cut down version of the same process that happens 5881 * in wp_mail() - get the Content-Typefrom the headers, if there is one,5882 * then pass it through the wp_mail_content_type filter, in case a plugin5883 * 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`. 5884 5884 */ 5885 5885 $headers = array();
Note: See TracChangeset
for help on using the changeset viewer.