WordPress.org

Make WordPress Core

Opened 14 months ago

Last modified 14 months ago

#23517 new defect (bug)

Shortcode: if last parameter ends with '/', it is mistaken for self-closing shortcode closure — at Initial Version

Reported by: sergem Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.5.1
Component: Shortcodes Keywords: has-patch
Focuses: Cc:

Description

In example:

[shortcode urlparam=http://somesite/path/]content textshortcode

"[shortcode urlparam=http://somesite/path/]"

is interpreted as self closing:

[shortcode/] with urlparam="http://somesite/path"

All examples in http://codex.wordpress.org/Shortcode_API include whitespace before '/]'

This prevents implementation of bbcode parser for people to paste flickr photo snippets.

Change History (0)

Note: See TracTickets for help on using tickets.