Changeset 32161 for trunk/src/wp-includes/formatting.php
- Timestamp:
- 04/20/2015 04:14:32 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r32097 r32161 4237 4237 $text = wp_encode_emoji( $text ); 4238 4238 4239 if ( ! class_exists( 'DOMDocument' ) ) {4240 return $text;4241 }4242 4243 4239 /** This filter is documented in wp-includes/formatting.php */ 4244 4240 $cdn_url = apply_filters( 'emoji_url', set_url_scheme( '//s.w.org/images/core/emoji/72x72/' ) ); … … 4315 4311 * Convert emoji in emails into static images. 4316 4312 * 4317 * @ignore4318 4313 * @since 4.2.0 4319 4314 * … … 4321 4316 * @return array The email data array, with emoji in the message staticized. 4322 4317 */ 4323 function _wp_staticize_emoji_for_email( $mail ) {4318 function wp_staticize_emoji_for_email( $mail ) { 4324 4319 if ( ! isset( $mail['message'] ) ) { 4325 4320 return $mail; … … 4374 4369 4375 4370 if ( 'text/html' === $content_type ) { 4376 $mail['message'] = wp_staticize_emoji( $mail['message'] , true);4371 $mail['message'] = wp_staticize_emoji( $mail['message'] ); 4377 4372 } 4378 4373
Note: See TracChangeset
for help on using the changeset viewer.