Make WordPress Core

Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#1032 closed defect (bug) (fixed)

Cockneyreplace can't be customised

Reported by: slebog Owned by: 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 10 years ago.
1032.diff (2.0 KB) - added by Nazgul 9 years ago.
cockney.diff (1.5 KB) - added by markjaquith 9 years ago.
Patch for /trunk/

Download all attachments as: .zip

Change History (11)

comment:1 @slebog10 years ago

  • Patch set to No

@slebog10 years ago

comment:2 @markjaquith10 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.

comment:3 @Nazgul9 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.

@Nazgul9 years ago

comment:4 @Nazgul9 years ago

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

2.0.5 candidate

comment:5 @markjaquith9 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).

@markjaquith9 years ago

Patch for /trunk/

comment:6 @markjaquith9 years ago

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

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

comment:7 @markjaquith9 years ago

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

comment:8 @anonymous9 years ago

  • Milestone 2.0.5 deleted

Milestone 2.0.5 deleted

Note: See TracTickets for help on using tickets.