[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 05:45:17 UTC 2013


#23517: Shortcode: if last parameter ends with '/', it is mistaken for self-closing
shortcode closure
-----------------------------+--------------------------
 Reporter:  sergem           |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Shortcodes
  Version:  3.5.1            |   Severity:  normal
 Keywords:                   |
-----------------------------+--------------------------
 In example:

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

 "[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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23517>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list