[wp-trac] [WordPress Trac] #23307: shortcode_parse_atts may return empty string

WordPress Trac noreply at wordpress.org
Wed Sep 30 15:49:24 UTC 2015


#23307: shortcode_parse_atts may return empty string
--------------------------+--------------------------
 Reporter:  GaryJ         |       Owner:  miqrogroove
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  4.4
Component:  Shortcodes    |     Version:
 Severity:  minor         |  Resolution:
 Keywords:  needs-patch   |     Focuses:  docs
--------------------------+--------------------------

Comment (by aaroncampbell):

 Replying to [comment:21 miqrogroove]:
 > Currently researching the history of attribute name syntax.  I had
 documented this as being restricted to "word" characters, but it looks
 like that changed to include hyphens at some point.
 Yeah, that happened just a couple months ago in [33118] (ticket #9405). It
 brought them more in line with shortcode names (#17657) and made them feel
 a bit more like the HTML attributes that people are used to (data-
 something, aria-something, etc).

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


More information about the wp-trac mailing list