[wp-trac] [WordPress Trac] #31471: shortcode_parse_atts has no escape sequence to handle literal quotes within values

WordPress Trac noreply at wordpress.org
Tue May 12 20:53:28 UTC 2015


#31471: shortcode_parse_atts has no escape sequence to handle literal quotes within
values
--------------------------+------------------------------
 Reporter:  maximinime    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Shortcodes    |     Version:  2.5
 Severity:  normal        |  Resolution:
 Keywords:  close         |     Focuses:
--------------------------+------------------------------
Changes (by azaozz):

 * keywords:   => close


Comment:

 Shortcodes "live" in the same context as HTML and *should* follow the same
 rules. It is bad idea to store raw HTML in shortcode attributes. I know it
 kind of works currently but we should be removing it rather than trying to
 fix it and make the regex even slower and buggier.

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


More information about the wp-trac mailing list