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

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 4 10:47:10 GMT 2009


#9264: Self closing shortcodes
--------------------------+-------------------------------------------------
 Reporter:  rb-cohen      |       Owner:  anonymous 
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  General       |     Version:  2.7.1     
 Severity:  normal        |    Keywords:  shortcode 
--------------------------+-------------------------------------------------

Comment(by Viper007Bond):

 I think ideally the slash shouldn't be needed as WordPress should be smart
 enough to work backwards and balance the tags. However that may not be
 possible due to technical reasons, I'm not sure.

 If it isn't, than using a slash to manually mark a shortcode as self-
 closing is a fair enough solution. I've run into this problem a few times
 and it'd be great to have a fix.

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


More information about the wp-trac mailing list