[wp-trac] [WordPress Trac] #28564: Shortcode Attributes with HTML Tags no longer working

WordPress Trac noreply at wordpress.org
Wed Jun 18 19:48:49 UTC 2014


#28564: Shortcode Attributes with HTML Tags no longer working
------------------------------------------+-----------------------------
 Reporter:  baden03                       |       Owner:  wonderboymusic
     Type:  defect (bug)                  |      Status:  closed
 Priority:  high                          |   Milestone:  4.0
Component:  Formatting                    |     Version:  trunk
 Severity:  major                         |  Resolution:  fixed
 Keywords:  has-patch commit wptexturize  |     Focuses:
------------------------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"28773"]:
 {{{
 #!CommitTicketReference repository="" revision="28773"
 In `wptexturize()` + tests:
 * Allow well-formed HTML inside of shortcode attributes
 * Restrict recursion. HTML is allowed but ignored.
 * Do not allow exotic HTML comments in shortcode attributes.
 * Continue to ignore the [ and ] chars if they appear in any HTML
 attribute.
 * Update related regex patterns.
 * Update unit tests.

 Props miqrogroove.
 Fixes #28564.
 }}}

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


More information about the wp-trac mailing list