Ticket #48397: 48397.diff
| File 48397.diff, 938 bytes (added by , 7 years ago) |
|---|
-
formatting.php
10 10 /** 11 11 * Replaces common plain text characters into formatted entities 12 12 * 13 * This returns given text with transformations of quotes to smart quotes, 14 * apostrophes, dashes, ellipses, the trademark symbol, and the multiplication symbol. 13 15 * As an example, 14 16 * 15 17 * 'cause today's effort makes it worth tomorrow's "holiday" ... … … 23 25 * Do not use this function before the {@see 'init'} action hook; everything will break. 24 26 * 25 27 * @since 0.71 28 * @since 4.0 Revised to improve performance and to resolve many bugs. Added the run_wptexturize filter to allow a theme or plugin to permanently disable this feature. 26 29 * 27 30 * @global array $wp_cockneyreplace Array of formatted entities for certain common phrases 28 31 * @global array $shortcode_tags