[wp-trac] [WordPress Trac] #31065: Shortcode without closing tag

WordPress Trac noreply at wordpress.org
Tue Jan 20 06:18:35 UTC 2015


#31065: Shortcode without closing tag
--------------------------+-----------------------
 Reporter:  rilwis        |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:
Component:  Shortcodes    |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+-----------------------
Changes (by rilwis):

 * status:  closed => reopened
 * resolution:  invalid =>


Comment:

 I don't think that's expected result.

 What I posted is just an example code. What happens if we put `[test]`
 somewhere in the first paragraph of post content, and the second one in
 very bottom of that (which means there're a lot of content between them)?
 The result can't be predicted. And the most important thing is they're
 '''valid''' shortcodes and should work properly.

 If we can't solve this problem, then we have to force user to '''always
 close shortcodes''', because any shortcode that works '''without'''
 closing tag can cause the similar problem.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31065#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list