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

WordPress Trac noreply at wordpress.org
Thu Jul 23 23:28:53 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:  needs-patch   |     Focuses:
--------------------------+------------------------------

Comment (by scamartist26):

 We have been looking for a fix for this today.We were able to fix some
 things with a filter that runs prior to `do_shortcode` that runs a
 preg_replace on the double quotes. Our regex is specific to us, and
 wouldn't work for all, but maybe this introduces an idea to you all that
 are probably much better at reqex than me.

 Thought I would share.

 Cheers!

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


More information about the wp-trac mailing list