[wp-trac] [WordPress Trac] #26850: Single quotes show up as apostrophes when appearing before numbers

WordPress Trac noreply at wordpress.org
Tue Jun 17 15:01:12 UTC 2014


#26850: Single quotes show up as apostrophes when appearing before numbers
-----------------------------------+-----------------------------
 Reporter:  yurivictor             |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  Future Release
Component:  Formatting             |     Version:  3.9
 Severity:  minor                  |  Resolution:
 Keywords:  wptexturize has-patch  |     Focuses:
-----------------------------------+-----------------------------
Changes (by miqrogroove):

 * keywords:  wptexturize needs-unit-tests has-patch => wptexturize has-
               patch


Comment:

 In miqro-26850.patch:
 * 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.
 * Both test cases in the ticket description are resolved.
 * Appropriate unit tests added.
 * Resolves the unit test broken in [28721] for #8775.
 * Does not fix any part of #27426.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26850#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list