Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#37564 closed defect (bug) (fixed)

Case typos in remove_accents() ʼn, Ŋ and ŋ

Reported by: gitlost's profile gitlost Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 4.7 Priority: normal
Severity: minor Version:
Component: Formatting Keywords: has-patch has-unit-tests commit
Focuses: Cc:


Noticed 3 (very old) typos in remove_accents() involving wrong case: the consecutive entries ʼn (U+0149), Ŋ (U+014A) and ŋ (U+014B) should go to n, N and n, not N, n and N (actually I think "Ŋ" and "ŋ" should go to "NG" and "ng" (and perhaps even "ʼn" to "'n") but that's a separate issue).

Attachments (1)

37564.patch (2.8 KB) - added by gitlost 8 years ago.
Fix typos.

Download all attachments as: .zip

Change History (6)

8 years ago

Fix typos.

#1 @gitlost
8 years ago

  • Keywords has-patch has-unit-tests added
  • Severity changed from normal to minor

#2 @SergeyBiryukov
8 years ago

  • Keywords 4.7-early added

#3 @ocean90
8 years ago

  • Keywords commit added; 4.7-early removed
  • Milestone changed from Awaiting Review to 4.7

#4 @SergeyBiryukov
8 years ago

Introduced in [2484] and [3106].

#5 @SergeyBiryukov
8 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 38193:

Formatting: In remove_accents(), correct replacements for:

  • Latin small letter n preceded by apostrophe
  • Latin capital letter Eng
  • Latin small letter Eng

Props gitlost.
Fixes #37564.

Note: See TracTickets for help on using tickets.