Changeset 12733 for trunk/wp-includes/formatting.php
- Timestamp:
- 01/15/2010 10:11:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r12680 r12733 34 34 $textarr = preg_split('/(<.*>|\[.*\])/Us', $text, -1, PREG_SPLIT_DELIM_CAPTURE); 35 35 $stop = count($textarr); 36 36 37 37 // No need to setup these variables more than once 38 38 if (!$static_setup) { … … 75 75 76 76 if ( !empty($curl) && '<' != $curl{0} && '[' != $curl{0} 77 && empty($no_texturize_shortcodes_stack) && empty($no_texturize_tags_stack)) { 77 && empty($no_texturize_shortcodes_stack) && empty($no_texturize_tags_stack)) { 78 78 // This is not a tag, nor is the texturization disabled 79 79 // static strings … … 121 121 * This disables texturize until we find a closing tag of our type 122 122 * (e.g. <pre>) even if there was invalid nesting before that 123 * 123 * 124 124 * Example: in the case <pre>sadsadasd</code>"baba"</pre> 125 125 * "baba" won't be texturize … … 691 691 foreach ( (array) $parts as $part) { 692 692 $filename .= '.' . $part; 693 693 694 694 if ( preg_match("/^[a-zA-Z]{2,5}\d?$/", $part) ) { 695 695 $allowed = false; … … 2414 2414 */ 2415 2415 function like_escape($text) { 2416 return addcslashes($text, '\\%_'); 2416 return addcslashes($text, '\\%_'); 2417 2417 } 2418 2418
Note: See TracChangeset
for help on using the changeset viewer.