Changeset 7768
- Timestamp:
- 04/22/2008 08:54:32 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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) {
Note: See TracChangeset
for help on using the changeset viewer.