Changeset 19796
- Timestamp:
- 01/31/2012 02:28:30 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r19795 r19796 29 29 function wptexturize($text) { 30 30 global $wp_cockneyreplace; 31 static $opening_quote, $closing_quote, $opening_single_quote, $closing_single_quote, $en_dash, $em_dash, 32 $apos, $prime, $double_prime, $default_no_texturize_tags, $default_no_texturize_shortcodes, 33 $static_characters, $static_replacements, $dynamic_characters, $dynamic_replacements; 31 static $static_characters, $static_replacements, $dynamic_characters, $dynamic_replacements, 32 $default_no_texturize_tags, $default_no_texturize_shortcodes; 34 33 35 34 // No need to set up these static variables more than once 36 if ( empty( $opening_quote) ) {35 if ( ! isset( $static_characters ) ) { 37 36 /* translators: opening curly double quote */ 38 37 $opening_quote = _x( '“', 'opening curly double quote' );
Note: See TracChangeset
for help on using the changeset viewer.