Ticket #56980: 56980.4.diff
File 56980.4.diff, 816 bytes (added by , 2 years ago) |
---|
-
src/wp-includes/formatting.php
1601 1601 1602 1602 // Unicode sequence normalization from NFD (Normalization Form Decomposed) 1603 1603 // to NFC (Normalization Form [Pre]Composed), the encoding used in this function. 1604 if ( function_exists( 'normalizer_normalize' ) ) { 1605 if ( ! normalizer_is_normalized( $string, Normalizer::FORM_C ) ) { 1606 $string = normalizer_normalize( $string, Normalizer::FORM_C ); 1604 if ( function_exists( 'normalizer_is_normalized' ) 1605 && function_exists( 'normalizer_normalize' ) 1606 ) { 1607 if ( ! normalizer_is_normalized( $string ) ) { 1608 $string = normalizer_normalize( $string ); 1607 1609 } 1608 1610 } 1609 1611