Changeset 31926 for trunk/src/wp-includes/formatting.php
- Timestamp:
- 03/30/2015 03:26:44 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r31924 r31926 4213 4213 $unpacked = unpack( 'H*', mb_convert_encoding( $emoji, 'UTF-32', 'UTF-8' ) ); 4214 4214 if ( isset( $unpacked[1] ) ) { 4215 $entity = '&#x' . trim( $unpacked[1], '0' ) . ';';4215 $entity = '&#x' . ltrim( $unpacked[1], '0' ) . ';'; 4216 4216 $content = str_replace( $emoji, $entity, $content ); 4217 4217 }
Note: See TracChangeset
for help on using the changeset viewer.