Ticket #4539: formatting-01.patch
| File formatting-01.patch, 733 bytes (added by , 14 years ago) |
|---|
-
wp-includes/formatting.php
80 80 } 81 81 if ( "'" != $opening_single_quote ) 82 82 $dynamic[ '/(\s|\A|[([{<]|")\'/' ] = '$1' . $opening_single_quote; // opening single quote, even after (, {, <, [ 83 if ( '"' != $closing_quote ) 84 $dynamic[ '/"(.*\d)"/' ] = $opening_quote . '$1' . $closing_quote; // in situations when the quoted text ends with a decimal digit, "like so: 42" 83 85 if ( '"' != $double_prime ) 84 86 $dynamic[ '/(\d)"/' ] = '$1' . $double_prime; // 9" (double prime) 85 87 if ( "'" != $prime )