[wp-trac] [WordPress Trac] #14481: Shortcode Enhancements

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 27 13:33:30 UTC 2010


#14481: Shortcode Enhancements
-------------------------+--------------------------------------------------
 Reporter:  deadowl      |       Owner:                 
     Type:  enhancement  |      Status:  new            
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Shortcodes   |     Version:  3.0            
 Severity:  normal       |    Keywords:  has-patch      
-------------------------+--------------------------------------------------
Changes (by daveagp):

 * cc: daveagp (added)


Comment:

 I encounter a bug when using closing square brackets in quoted attribute
 values for shortcodes. This place is the closest-to-appropriate place I
 could find to report it, I would appreciate any redirection if somewhere
 else is better. It happened in wordpress 3.0.1 and does not seem to be
 explicitly addressed above.

 The bug: when a page source contains

 [mytag myatt="red]green"]content[/mytag]

 the $content erroneously is processed as

 green"]content

 Notes:
 - opening brackets [ don't cause this problem
 - changing "" to '' does not help

 It would be great if the proposed fix handles this case - I have not tried
 to figure out how to use the patch and so I have not checked.

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


More information about the wp-trac mailing list