WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#39658 closed defect (bug) (fixed)

Wrong transcription of "Đ and đ" chars in permalinks

Reported by: H3llas Owned by: SergeyBiryukov
Milestone: 4.8 Priority: normal
Severity: normal Version: 4.7.1
Component: Formatting Keywords:
Focuses: Cc:
PR Number:

Description (last modified by SergeyBiryukov)

Letter 'Đ' (U+0110, Latin capital letter D with stroke) and 'đ' (U+0111, Latin small letter d with stroke) are transcribed to 'D' and 'd' in permalinks.

Instead they should be transcribed to: 'DJ' and 'dj', respectively, in Bosnian language.

Its same issue which is already fixed in Serbian Wordpress here, but issue still exists in Bosnian WP.

#38078

Change History (3)

#1 @SergeyBiryukov
3 years ago

  • Description modified (diff)
  • Milestone changed from Awaiting Review to 4.8

#2 @SergeyBiryukov
3 years ago

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

In 39939:

I18N: Add support for Bosnian locale in remove_accents().

Applies "letter D with stroke" replacement made in [38646] for Serbian (sr_RS) to Bosnian (bs_BA) as well.

Props H3llas for the report.
Fixes #39658.

#3 @SergeyBiryukov
3 years ago

In 39940:

Docs: After [39939], "locales" should be plural.

See #39658.

Note: See TracTickets for help on using tickets.