Ticket #6606: 6606.2.patch
| File 6606.2.patch, 581 bytes (added by , 18 years ago) |
|---|
-
wp-includes/shortcodes.php
88 88 89 89 if ( isset($m[4]) ) { 90 90 // enclosing tag - extra parameter 91 return call_user_func($shortcode_tags[$tag], $attr, $m[4] );91 return call_user_func($shortcode_tags[$tag], $attr, $m[4], $tag); 92 92 } else { 93 93 // self-closing tag 94 return call_user_func($shortcode_tags[$tag], $attr );94 return call_user_func($shortcode_tags[$tag], $attr, '', $tag); 95 95 } 96 96 } 97 97