[wp-trac] [WordPress Trac] #7045: No name shortcode atts

WordPress Trac wp-trac at lists.automattic.com
Tue May 27 12:55:30 GMT 2008


#7045: No name shortcode atts
--------------------------+-------------------------------------------------
 Reporter:  Viper007Bond  |       Owner:  anonymous  
     Type:  defect        |      Status:  new        
 Priority:  normal        |   Milestone:  2.6        
Component:  General       |     Version:  2.6        
 Severity:  normal        |    Keywords:  needs-patch
--------------------------+-------------------------------------------------
 If you have a shortcode with an attribute with no name, it isn't parsed
 quite correctly:

 {{{
 [shortcode="foo"]bar[/shortcode]
 }}}

 The attributes array ends up with this:

 {{{
 $atts = array( 0 => '="foo"' );
 }}}

 rather than just `foo`.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7045>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list