[wp-trac] [WordPress Trac] #29658: Curly quotes injected into short code attributes when special characters present

WordPress Trac noreply at wordpress.org
Tue Dec 16 14:48:17 UTC 2014


#29658: Curly quotes injected into short code attributes when special characters
present
--------------------------+-----------------------
 Reporter:  msimpson      |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:
Component:  Formatting    |     Version:  4.0
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |     Focuses:
--------------------------+-----------------------
Changes (by sareiodata):

 * keywords:   => dev-feedback
 * status:  closed => reopened
 * resolution:  duplicate =>


Comment:

 I don't see how this is a duplicate of #29557

 Tested it with WordPress 4.0.1 and having a shortcode like: [quotebug
 val1="test" val2="test" operator=">"] the attributes return as:

   array (size=3)
       'val1' => string '”test”' (length=18)
       'val2' => string '”test”' (length=18)
       'operator' => string '”>”' (length=15)

 Basically it's adding asci encoded quotes in the attributes.

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


More information about the wp-trac mailing list