Make WordPress Core

Opened 20 years ago

Closed 18 years ago

Last modified 18 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:

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

Download all attachments as: .zip

Change History (11)

#1 @slebog
20 years ago

  • Patch set to No

@slebog
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
18 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.

@Nazgul
18 years ago

#4 @Nazgul
18 years ago

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

2.0.5 candidate

#5 @markjaquith
18 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
18 years ago

Patch for /trunk/

#6 @markjaquith
18 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
18 years ago

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

#8 @(none)
18 years ago

  • Milestone 2.0.5 deleted

Milestone 2.0.5 deleted

Note: See TracTickets for help on using tickets.