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

WordPress Trac noreply at wordpress.org
Fri Sep 4 20:24:12 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:  4.2.3
 Severity:  normal        |  Resolution:
 Keywords:  close         |     Focuses:
--------------------------+------------------------------

Comment (by gitlost):

 I don't understand that comment, could you elaborate please? The patch
 causes the OP's currently non-working

 `<a title="This is a test" href="/[currenturl sanitize=1
 before="?ref="]">Testing some stuff.</a>`

 to be treated the same as the currently working

 `<a title="This is a test" href="/[currenturl sanitize=1
 before='?ref=']">Testing some stuff.</a>`

 Which are both equally sane (or insane) as far as I can see...

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


More information about the wp-trac mailing list