Changeset 7768
- Timestamp:
- 04/22/08 20:54:32 (7 months ago)
- Files:
-
- branches/2.5/wp-includes/shortcodes.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.5/wp-includes/shortcodes.php
r7700 r7768 116 116 $atts = array(); 117 117 $pattern = '/(\w+)\s*=\s*"([^"]*)"(?:\s|$)|(\w+)\s*=\s*\'([^\']*)\'(?:\s|$)|(\w+)\s*=\s*([^\s\'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|(\S+)(?:\s|$)/'; 118 $text = preg_replace("/[\x{00a0}\x{200b}]+/u", " ", $text); 118 119 if ( preg_match_all($pattern, $text, $match, PREG_SET_ORDER) ) { 119 120 foreach ($match as $m) {
