[wp-trac] [WordPress Trac] #23517: Shortcode: if last parameter ends with '/', it is mistaken for self-closing shortcode closure
WordPress Trac
noreply at wordpress.org
Tue Feb 19 06:07:11 UTC 2013
#23517: Shortcode: if last parameter ends with '/', it is mistaken for self-closing
shortcode closure
--------------------------+------------------------------
Reporter: sergem | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Shortcodes | Version: 3.5.1
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by kovshenin):
Similar to HTML, the `[shortcode/]` syntax is a self-closing shortcode,
and there's no easy way to distinguish that from the argument value,
unless you enclose that in quotes, which should work:
{{{
[shortcode urlparam="http://somesite/path/"]
}}}
Suggesting to close as invalid.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23517#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list