[wp-trac] [WordPress Trac] #20077: shortcode_parse_atts should not force arguments to be lowercase
WordPress Trac
wp-trac at lists.automattic.com
Mon Feb 20 03:10:09 UTC 2012
#20077: shortcode_parse_atts should not force arguments to be lowercase
----------------------------+------------------------------
Reporter: fireproofsocks | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: close |
----------------------------+------------------------------
Changes (by mikeschinkel):
* cc: mikeschinkel@… (added)
Comment:
Replying to [comment:1 azaozz]:
> This is rather a coding standards question. Been thinking we should
define a "WP variable" standard and use and enforce it whenever possible.
Things like CPT names, CSS class names (when handled by an API), and any
other variable string that is passed to an API should conform to some
basic rules. That would make all of them much easier to escape, clean,
sanitize, etc.
+1 to that.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20077#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list