[wp-trac] [WordPress Trac] #33102: Shortcodes with Quoted Attributes Break Inside of Quoted HTML Attributes

WordPress Trac noreply at wordpress.org
Thu Jul 23 17:44:37 UTC 2015


#33102: Shortcodes with Quoted Attributes Break Inside of Quoted HTML Attributes
--------------------------+------------------------------
 Reporter:  cgrymala      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Shortcodes    |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by cgrymala):

 Thanks for the correction, @kitchin.

 I think I've narrowed the issue down to
 [https://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/shortcodes.php#L379 line 379 of wp-includes/shortcodes.php]. The
 `wp_kses_attr_parse()` function seems to be returning false when the HTML
 attribute's quote style matches the shortcode attribute's quote style.

 I'll start trying to debug the `wp_kses_attr_parse()` function to see if I
 can figure out where/why that's happening.

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


More information about the wp-trac mailing list