Changeset 7769
- Timestamp:
- 04/22/2008 08:54:51 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/shortcodes.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/shortcodes.php
r7699 r7769 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) {
Note: See TracChangeset
for help on using the changeset viewer.