[wp-trac] [WordPress Trac] #15968: Shortcode parser includes quotes in attribute value

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 23 15:48:43 UTC 2010


#15968: Shortcode parser includes quotes in attribute value
----------------------------------+----------------------------------------
 Reporter:  tomaugerdotcom@…      |      Owner:
     Type:  defect (bug)          |     Status:  new
 Priority:  normal                |  Milestone:  Awaiting Review
Component:  Shortcodes            |    Version:  3.0.3
 Severity:  major                 |   Keywords:  shortcode, parsing, quotes
----------------------------------+----------------------------------------
 This appears to be new since 3.0.3. Any shortcodes using the following
 format:
 [shortcode attribute="value"]

 when $value is extracted, it now includes the quotes. IE: $value ==
 ""value""; // (as opposed to $value == "value").

 As a result, any plugins that switch or parse $value without first
 stripping the quotes will now fail. This could potentially affect a lot of
 implementations. I can't imagine this is desired functionality.

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


More information about the wp-trac mailing list