Single quotes transformed to double quotes in post_content
|Reported by:||mfields||Owned by:|
When WPLANG is set to use certain non-English languages single quotes are converted to double quotes when displayed via the_content(). I think that the issue may have been introduced with , but I am not certain about this. Here are steps to reproduce:
- Export the Swedish .mo file from GlotPress and save it to wp-content/languages as sv_FI.mo.
- Set define ('WPLANG', 'sv_FI' ); in wp-config.php.
- Create a new post using the content from the attached test data (quotes-test-data.txt).
- Publish the post and view in the the theme.
At this point you should notice that many of the single quotes have been converted to double.
I've only observed this when WordPress uses the Swedish .mo files. I have not tested in any other non-English languages. English does not appear to be affected.