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

WordPress Trac noreply at wordpress.org
Tue Jun 16 21:01:12 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 needs-testing  |     Focuses:
-------------------------------------+-----------------------------
Changes (by aaroncampbell):

 * keywords:  has-patch needs-testing needs-unit-tests => has-patch needs-
     testing


Comment:

 There's a unit test in the most recent patch. It covers all the parameters
 in this shortcode:
 {{{[test-shortcode-tag foo="foo" foo-bar="foo-bar" foo-bar-="foo-bar-"
 -foo-bar="-foo-bar" -foo-bar-="-foo-bar-" /]}}}
 Do you think there are more that need to be added?

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


More information about the wp-trac mailing list