[wp-trac] [WordPress Trac] #9913: Plain text emails sent with encoded quotes
WordPress Trac
wp-trac at lists.automattic.com
Sun Dec 13 10:25:38 UTC 2009
#9913: Plain text emails sent with encoded quotes
--------------------------+-------------------------------------------------
Reporter: Speedboxer | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: Mail | Version: 2.8
Severity: normal | Keywords: has-patch dev-feedback
--------------------------+-------------------------------------------------
Comment(by westi):
Ok looking back in time I am sure this used to work fine.
It turns out that I think this was broken by [11380] where Mark switched
out wp_specialchars for esc_html - this changed the default behaviour to
encode quotes when wp_specialchars defaulted to not encoding quotes.
Unfortunately this functionality runs when the data is store in the db so
even if we were to revert that a lot of people would still see the issue.
So it looks like we do need to undo this work in the relevant places where
we want in non-html - we should however use {{{wp_specialchars_decode}}}
rather than {{{html_entity_decode.}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9913#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list