[wp-trac] [WordPress Trac] #20077: shortcode_parse_atts should not force arguments to be lowercase

WordPress Trac noreply at wordpress.org
Thu Jul 25 20:55:32 UTC 2013


#20077: shortcode_parse_atts should not force arguments to be lowercase
----------------------------+----------------------
 Reporter:  fireproofsocks  |       Owner:
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Shortcodes      |     Version:
 Severity:  normal          |  Resolution:  wontfix
 Keywords:  close           |
----------------------------+----------------------
Changes (by nacin):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 A viable PHP variable name is basically *anything*, including emoji. So,
 no. I absolutely think that HTML is what shortcodes should follow (they
 are, after all, modeled a bit after it and are part of the content), not
 PHP.

 Also, this change could potentially break a ton of content that
 accidentally uses uppercase letters (but the code works fine).

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


More information about the wp-trac mailing list