[wp-trac] [WordPress Trac] #6436: Shortcode attributes passing incorrectly

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 28 14:49:56 GMT 2008


#6436: Shortcode attributes passing incorrectly
---------------------+------------------------------------------------------
 Reporter:  stevish  |       Owner:  anonymous
     Type:  defect   |      Status:  new      
 Priority:  high     |   Milestone:  2.5      
Component:  General  |     Version:  2.5      
 Severity:  major    |    Keywords:  RC3      
---------------------+------------------------------------------------------
 In WP2.5 RC3, when adding attributes to a shortcode (such as {{{[gallery
 columns="3"]}}}) any quotation marks are passed as part of the variable.
 Therefore, in this example, the $columns variable would contain
 __”3″__ instead of just __3__. The same happens when using
 single quotes.

 As far as I can tell, there is no way to use values with spaces, as
 everything after the space is ignored.

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


More information about the wp-trac mailing list