WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #35022, comment 17


Ignore:
Timestamp:
03/17/2016 09:40:23 PM (4 years ago)
Author:
steevithak
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35022, comment 17

    initial v1  
    33To fix the problem with corrupted quote characters that causes the first shortcode attribute to be dropped, I add a work around in which the Unicode quote entity values are replaced with conventional ASCII quote chars prior to running the shortcode attribute parser. This allowed a simple one-line fix that doesn't require messing with the complex attribute parsing regex. The downside is that this is really just a work-around because I don't know where in WP the quote characters are being corrupted. This one-line change could be reverted later if someone figures out the real source of this problem.
    44
    5 Dislaimer: this works for me but hasn't been tested extensively. Hopefully some core developers can take a look and make sure it doesn't break anything.
     5Dislaimer: this works for me but hasn't been tested extensively. Hopefully some core developers can take a look and make sure it doesn't break anything. @chriscct7