Make WordPress Core

Opened 19 years ago

Closed 17 years ago

Last modified 17 years ago

#1032 closed defect (bug) (fixed)

Cockneyreplace can't be customised

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


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 19 years ago.
1032.diff (2.0 KB) - added by Nazgul 17 years ago.
cockney.diff (1.5 KB) - added by markjaquith 17 years ago.
Patch for /trunk/

Download all attachments as: .zip

Change History (11)

#1 @slebog
19 years ago

  • Patch set to No

19 years ago

#2 @markjaquith
19 years ago

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

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

#3 @Nazgul
17 years ago

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

Updated the existing patch to work on current trunk.

17 years ago

#4 @Nazgul
17 years ago

  • Keywords dev-feedback removed
  • Milestone changed from 2.1 to 2.0.5

2.0.5 candidate

#5 @markjaquith
17 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).

17 years ago

Patch for /trunk/

#6 @markjaquith
17 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

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

#7 @markjaquith
17 years ago

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

#8 @(none)
17 years ago

  • Milestone 2.0.5 deleted

Milestone 2.0.5 deleted

Note: See TracTickets for help on using tickets.