[wp-trac] [WordPress Trac] #12982: Shortcodes don't allow shortcodes in attributes

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 14 20:12:30 UTC 2010


#12982: Shortcodes don't allow shortcodes in attributes
--------------------------+-------------------------------------------------
 Reporter:  Atoon         |       Owner:                       
     Type:  defect (bug)  |      Status:  new                  
 Priority:  normal        |   Milestone:  3.1                  
Component:  Shortcodes    |     Version:  3.0                  
 Severity:  normal        |    Keywords:  shortcode, attributes
--------------------------+-------------------------------------------------

Comment(by Atoon):

 I attached a diff that solves that particular problem. It fixes the 3rd
 capturing group to ignore anything between brackets and low the priority
 of {{{do_shorcode}}} to 9, to avoid conflicts with {{{wptexturize}}}. It
 may not have problems with {{{wpautop}}} since that's is somewhat fixed
 with {{{shortcode_unautop}}}.

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


More information about the wp-trac mailing list