WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 7 years ago

#16908 closed enhancement (worksforme)

Normalize remove_accents() data

Reported by: hakre Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.1
Component: General Keywords: has-patch
Focuses: Cc:

Description

The remove_accents() functions contains the translitaration data in diverse formats. To normalize the code, a format of arrays containing key=>value replacements where the string value of key transposes into the string value of value.

That's already common for a large part of the function.

Attachments (4)

16908.patch (982 bytes) - added by hakre 10 years ago.
latin-1, part I
16909.patch (2.9 KB) - added by hakre 10 years ago.
latin-1, part II
16908.2.patch (2.8 KB) - added by hakre 10 years ago.
One transliteration table for latin-1
16908.3.patch (14.9 KB) - added by hakre 10 years ago.
get_transliteration_table()

Download all attachments as: .zip

Change History (8)

@hakre
10 years ago

latin-1, part I

@hakre
10 years ago

latin-1, part II

@hakre
10 years ago

One transliteration table for latin-1

@hakre
10 years ago

get_transliteration_table()

#1 @hakre
10 years ago

Related: #16905

#2 @toscho
10 years ago

  • Cc info@… added

#3 @texttheater
9 years ago

  • Cc poststelle@… added

#4 @nacin
7 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.