Ticket #1032 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

Cockneyreplace can't be customised

Reported by: slebog Assigned to: markjaquith
Priority: normal Milestone:
Component: General Version: 1.5.1
Severity: minor Keywords: has-patch
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

autocorrect.diff (2.2 kB) - added by slebog on 05/21/05 06:36:03.
1032.diff (2.0 kB) - added by Nazgul on 10/01/06 00:29:34.
cockney.diff (1.5 kB) - added by markjaquith on 10/04/06 06:03:58.
Patch for /trunk/

Change History

03/05/05 11:52:11 changed by slebog

  • Patch set to No.

05/21/05 06:36:03 changed by slebog

  • attachment autocorrect.diff added.

06/30/05 04:34:18 changed by markjaquith

  • keywords set to bg|needs-patch bg|dev-feedback.
  • 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.

10/01/06 00:29:24 changed by Nazgul

  • keywords changed from bg|needs-patch bg|dev-feedback to has-patch dev-feedback.
  • milestone set to 2.1.

Updated the existing patch to work on current trunk.

10/01/06 00:29:34 changed by Nazgul

  • attachment 1032.diff added.

10/04/06 04:46:57 changed by Nazgul

  • keywords changed from has-patch dev-feedback to has-patch.
  • milestone changed from 2.1 to 2.0.5.

2.0.5 candidate

10/04/06 06:02:48 changed by markjaquith

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).

10/04/06 06:03:58 changed by markjaquith

  • attachment cockney.diff added.

Patch for /trunk/

10/04/06 06:07:50 changed by markjaquith

  • status changed from assigned to closed.
  • resolution set to fixed.

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

10/04/06 06:08:08 changed by markjaquith

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

11/30/06 19:41:51 changed by

  • milestone deleted.

Milestone 2.0.5 deleted