Ticket #31190: 31190.diff
File 31190.diff, 882 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/formatting.php
684 684 $single_preg = array( '/�*39;/' => ''', '/�*27;/i' => ''' ); 685 685 $double = array( '"' => '"', '"' => '"', '"' => '"' ); 686 686 $double_preg = array( '/�*34;/' => '"', '/�*22;/i' => '"' ); 687 $others = array( '<' => '<', '<' => '<', '>' => '>', '>' => '>', '&' => '&', '&' => '&', '&' => '&' );687 $others = array( '<' => '<', '<' => '<', '>' => '>', '>' => '>', '&' => '&', '&' => '&', '&' => '&', '&' => '&' ); 688 688 $others_preg = array( '/�*60;/' => '<', '/�*62;/' => '>', '/�*38;/' => '&', '/�*26;/i' => '&' ); 689 689 690 690 if ( $quote_style === ENT_QUOTES ) {