Changeset 10658 for trunk/wp-includes/shortcodes.php
- Timestamp:
- 02/27/2009 05:01:59 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/shortcodes.php
r10576 r10658 203 203 if ( isset($m[5]) ) { 204 204 // enclosing tag - extra parameter 205 return $m[1] . call_user_func($shortcode_tags[$tag], $attr, $m[5] ) . $m[6];205 return $m[1] . call_user_func($shortcode_tags[$tag], $attr, $m[5], $m[2]) . $m[6]; 206 206 } else { 207 207 // self-closing tag 208 return $m[1] . call_user_func($shortcode_tags[$tag], $attr ) . $m[6];208 return $m[1] . call_user_func($shortcode_tags[$tag], $attr, NULL, $m[2]) . $m[6]; 209 209 } 210 210 }
Note: See TracChangeset
for help on using the changeset viewer.