[wp-trac] [WordPress Trac] #9405: Shortcode parameter names can't have dashes in them

WordPress Trac noreply at wordpress.org
Thu Jun 18 00:24:38 UTC 2015


#9405: Shortcode parameter names can't have dashes in them
--------------------------+-----------------------
 Reporter:  Viper007Bond  |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  lowest        |   Milestone:  4.3
Component:  Shortcodes    |     Version:  2.8
 Severity:  minor         |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------
Changes (by johnbillion):

 * milestone:  Future Release => 4.3


Comment:

 Hyphens should definitely be allowed in shortcode attribute names.

 I bet the kWhs of electricity saved by reducing the time developers spend
 at their computers scratching their heads will more than offset the extra
 kWhs of electricity spent on parsing the updated regex.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/9405#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list