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

WordPress Trac noreply at wordpress.org
Wed Aug 19 21:13:15 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 boybawang):

 Hey Guys -

 I'm pretty sure what I'm experiencing is related to this bug, but wanted
 to double check. My site also broke with the 4.2.3 upgrade, so I had to
 revert back to 4.2.2.

 I have a text input field whose value calls a shortcode that processes
 some PHP, and returns the value. It looks something like this:


 {{{
 <input type="text" value="[php function=1]" />
 }}}

 Now, what's showing up in my text field is '''[php function=1]''' as
 opposed to what the PHP used to return. Seeing as this shortcode is within
 quoted HTML attributes, does this correctly reflect the bug for this
 ticket?

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


More information about the wp-trac mailing list