[wp-trac] [WordPress Trac] #46412: Make shortcode attributes case-insensitive? shortcode_parse_atts
WordPress Trac
noreply at wordpress.org
Mon Mar 4 18:49:11 UTC 2019
#46412: Make shortcode attributes case-insensitive? shortcode_parse_atts
-----------------------------+------------------------------
Reporter: michael.ecklund | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Shortcodes | Version: 5.1
Severity: normal | Resolution:
Keywords: | Focuses:
-----------------------------+------------------------------
Comment (by joyously):
At this late date, it would break more sites to remove it than it would to
"fix" something.
Besides, it's documented on https://codex.wordpress.org/Shortcode_API
"Attribute names are always converted to lowercase before they are passed
into the handler function. Values are untouched."
so your expectation as stated is incorrect.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46412#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list