Changeset 11634 for trunk/wp-includes/formatting.php
- Timestamp:
- 06/23/2009 10:10:46 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/formatting.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r11615 r11634 81 81 82 82 function wptexturize_pushpop_element($text, &$stack, $disabled_elements, $opening = '<', $closing = '>') { 83 $o = preg_quote($opening );84 $c = preg_quote($closing );83 $o = preg_quote($opening, '/'); 84 $c = preg_quote($closing, '/'); 85 85 foreach($disabled_elements as $element) { 86 86 if (preg_match('/^'.$o.$element.'\b/', $text)) array_push($stack, $element);
Note: See TracChangeset
for help on using the changeset viewer.