[wp-trac] [WordPress Trac] #9264: Self closing shortcodes

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 10 19:18:39 UTC 2011


#9264: Self closing shortcodes
------------------------------+-----------------------------
 Reporter:  rb-cohen          |       Owner:  westi
     Type:  defect (bug)      |      Status:  accepted
 Priority:  normal            |   Milestone:  Future Release
Component:  Shortcodes        |     Version:  2.7.1
 Severity:  normal            |  Resolution:
 Keywords:  needs-unit-tests  |
------------------------------+-----------------------------
Changes (by mdawaffe):

 * keywords:  needs-patch needs-unit-tests => needs-unit-tests


Comment:

 {{{
 [test id="1"/] first self closed, now [test id="2"]with content[/test]
 }}}

 {{{
 [foo attr/]bar[foo attr/]bar[/foo]
 }}}

 {{{
 [test/]
 [test]foobar[/test]
 }}}

 {{{
 [test id="1"][/test]
 }}}

 All these cases now work.  Apart from unit tests, this ticket can be
 closed.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9264#comment:34>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list