Changeset 10810 for trunk/wp-includes/shortcodes.php
- Timestamp:
- 03/18/2009 02:43:45 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/shortcodes.php
r10658 r10810 157 157 * The regular expression combines the shortcode tags in the regular expression 158 158 * in a regex class. 159 * 159 * 160 160 * The regular expresion contains 6 different sub matches to help with parsing. 161 * 161 * 162 162 * 1/6 - An extra [ or ] to allow for escaping shortcodes with double [[]] 163 163 * 2 - The shortcode name … … 165 165 * 4 - The self closing / 166 166 * 5 - The content of a shortcode when it wraps some content. 167 * 167 * 168 168 * @since 2.5 169 169 * @uses $shortcode_tags … … 197 197 return substr($m[0], 1, -1); 198 198 } 199 199 200 200 $tag = $m[2]; 201 201 $attr = shortcode_parse_atts($m[3]);
Note: See TracChangeset
for help on using the changeset viewer.