Empty Shortcode Bug
It seems as though shortcode will not allow empty content for non-self-closing tags.
For instance, [shortcode/] is okay, and [shortcode]hello[/shortcode] is okay, but [shortcode][/shortcode] does not work properly (it outputs strange and unexpected results).
I don’t know jack about RegExps, but I’d really like to be able to support such tags…any tips on how I could remedy this would be greatly appreciated.
The problem code seems to be in wp-includes/shortcode.php, function do_shortcode().
- The topic ‘Empty Shortcode Bug’ is closed to new replies.