WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 8 years ago

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

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

Download all attachments as: .zip

Change History (11)

comment:1 slebog9 years ago

  • Patch set to No

slebog9 years ago

comment:2 markjaquith9 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 Nazgul8 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.

Nazgul8 years ago

comment:4 Nazgul8 years ago

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

2.0.5 candidate

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

markjaquith8 years ago

Patch for /trunk/

comment:6 markjaquith8 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 markjaquith8 years ago

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

comment:8 anonymous7 years ago

  • Milestone 2.0.5 deleted

Milestone 2.0.5 deleted

Note: See TracTickets for help on using tickets.