[wp-trac] [WordPress Trac] #9405: Shortcode parameter names can't have dashes in them
WordPress Trac
noreply at wordpress.org
Tue Jun 16 23:45:36 UTC 2015
#9405: Shortcode parameter names can't have dashes in them
--------------------------+-----------------------------
Reporter: Viper007Bond | Owner:
Type: defect (bug) | Status: reopened
Priority: lowest | Milestone: Future Release
Component: Shortcodes | Version: 2.8
Severity: minor | Resolution:
Keywords: has-patch | Focuses:
--------------------------+-----------------------------
Comment (by azaozz):
I'm not sure this is a good idea. Why would we want dashes in shortcode
attributes, what (critical) problem is solved with that?
The shortcode regexps are pretty big/slow already, making them even more
complex is undesirable imho. Also, imagine the billions of times this
slower regexp will run every day. Is it really worth the extra kWh of
electricity for the servers so we can have slightly fancier attribute
names (that few would ever use)?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/9405#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list