Ticket #4804 (closed defect (bug): fixed)

Opened 4 years ago

Last modified 4 years ago

Incorrect variable name used in cockney replace code.

Reported by: westi Owned by: westi
Priority: normal Milestone: 2.0.12
Component: General Version: 2.2.2
Severity: normal Keywords: has-patch commit
Cc:

Description

        // if a plugin has provided an autocorrect array, use it
        if ( isset($wp_cockneyreplace) ) {
                $cockney = array_keys($wp_cockneyreplace);
                $cockney_replace = array_values($wp_cockneyreplace);
        } else {
                $cockney = array("'tain't","'twere","'twas","'tis","'twill","'til","'bout","'nuff","'round","'cause");
                $cockneyreplace = array("’tain’t","’twere","’twas","’tis","’twill","’til","’bout","’nuff","’round","’cause");

$cockney_replace and $cockneyreplace!!

Attachments

4804.diff Download (762 bytes) - added by westi 4 years ago.
Patch

Change History

westi4 years ago

Patch

  • Keywords has-patch commit added

Props to andihit in IRC for the report.

  • Version changed from 2.3 to 2.2.2

Also present in 2.2.2 and 2.0.11

comment:3   ryan4 years ago

+1 for all branches

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

(In [5930]) Enable plugins to override the cockney replace array, fixes #4804 props andihit

  • Status changed from closed to reopened
  • Resolution fixed deleted
  • Milestone changed from 2.3 (trunk) to 2.2.3

Re-open for 2.2.3

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

(In [5931]) Enable plugins to override the cockney replace array, fixes #4804 for 2.2.3 props andihit

  • Status changed from closed to reopened
  • Resolution fixed deleted
  • Milestone changed from 2.2.3 to 2.0.12

Re-open for 2.0.12

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

(In [5932]) Enable plugins to override the cockney replace array, fixes #4804 for 2.0.12 props andihit

Note: See TracTickets for help on using tickets.