#29813 closed defect (bug) (fixed)
wptexturize inserts opening single quote instead of apostrophe
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 4.2 | Priority: | normal |
Severity: | normal | Version: | 1.5 |
Component: | Formatting | Keywords: | wptexturize has-patch |
Focuses: | Cc: |
Description
In the following example:
Here are a number of "pick 'em" games
WordPress inserts an opening single quote:
Here are a number of “pick ‘em” games
Correct behaviour would be to insert an apostrophe (close quote):
Here are a number of “pick ’em” games
Attachments (1)
Change History (8)
#3
@
11 years ago
- Component changed from General to Formatting
- Keywords wptexturize added; 2nd-opinion removed
- Version changed from trunk to 1.5
I am recently aware of this bug. While working on 4.0 alpha I noticed the word 'em is strangely absent from the default cockney filter. It can be fixed using a plugin, but I would be in favor of officially adopting 'em as a default word.
#5
@
10 years ago
- Milestone changed from Awaiting Review to 4.2
- Resolution set to fixed
- Status changed from new to closed
[31249] missed the ticket.
#6
@
10 years ago
Thank you for the commit, pento.
Let me wonder out loud.. is this going to become typographically messy if someone wants to write 'employee of the month' rather than "employee of the month" at some point? Now the former would be somewhat broken and perhaps the static string replacement is not the best strategy.
Unable to reproduce on my system (Flat theme, WP 4.0).
Copied and pasted OP's example into Text tab in TinyMCE, saved, and confirmed that I received the correct close quote character that is expected, not an opening single quote as reported.