[wp-trac] [WordPress Trac] #26850: Single quotes show up as apostrophes when appearing before numbers
WordPress Trac
noreply at wordpress.org
Tue Jun 17 17:40:08 UTC 2014
#26850: Single quotes show up as apostrophes when appearing before numbers
-----------------------------------+------------------
Reporter: yurivictor | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.0
Component: Formatting | Version: 3.9
Severity: minor | Resolution:
Keywords: wptexturize has-patch | Focuses:
-----------------------------------+------------------
Comment (by wonderboymusic):
In [changeset:"28761"]:
{{{
#!CommitTicketReference repository="" revision="28761"
`wptexturize()` adjustments:
* Only place an apostrophe before a number when it has exactly two digits.
* Never match '99' with the single prime pattern.
* Always assume '99' is an abbreviated year at the end of a quotation.
* Add unit tests.
* Resolves the unit test broken in [28721] for #8775.
See #26850.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26850#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list