Make WordPress Core

Opened 22 years ago

Closed 20 years ago

Last modified 20 years ago

#1032 closed defect (bug) (fixed)

Cockneyreplace can't be customised

Reported by: slebog Owned by: markjaquith
Priority: normal Milestone:
Component: General Version: 1.5.1
Severity: minor Keywords: has-patch
Cc: Focuses:

Description

It would be useful to allow customisation of the cockneyreplace feature in functions-formatting.php. End-users could then add their own words more easily, and localisers could provide lists relevant to their language.

Attachments (3)

autocorrect.diff​ (2.2 KB ) - added by slebog 21 years ago.
1032.diff​ (2.0 KB ) - added by Nazgul 20 years ago.
cockney.diff​ (1.5 KB ) - added by markjaquith 20 years ago.
Patch for /trunk/

Download all attachments as: .zip

Change History (11)

#1 @slebog
22 years ago

  • Patch → No

#2 @markjaquith
21 years ago

  • Keywords bg|needs-patch bg|dev-feedback added
  • Owner changed from anonymous to markjaquith
  • Status new → assigned

This seems like a decent idea. Probably needs an updated patch for 1.6 SVN code.

#3 @Nazgul
20 years ago

  • Keywords has-patch dev-feedback added; bg|needs-patch bg|dev-feedback removed
  • Milestone → 2.1

Updated the existing patch to work on current trunk.

#4 @Nazgul
20 years ago

  • Keywords dev-feedback removed
  • Milestone 2.1 → 2.0.5

2.0.5 candidate

#5 @markjaquith
20 years ago

This function gets run a lot, so I'd like to avoid a lot of array_keys(), array_values() calls, as well as avoid having a big global array, if at all possible (see new patch).

@markjaquith
20 years ago

Patch for /trunk/

#6 @markjaquith
20 years ago

  • Resolution → fixed
  • Status assigned → closed

(In [4308]) Allow user replacement of cockney replacement array. fixes #1032

#7 @markjaquith
20 years ago

(In [4309]) Allow user replacement of cockney replacement array. fixes #1032

#8 @(none)
20 years ago

  • Milestone 2.0.5

Milestone 2.0.5 deleted

Note: See TracTickets for help on using tickets.