Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#4804 closed defect (bug) (fixed)

Incorrect variable name used in cockney replace code.

Reported by: westi's profile westi Owned by: westi's profile westi
Milestone: 2.0.12 Priority: normal
Severity: normal Version: 2.2.2
Component: General Keywords: has-patch commit
Focuses: 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 (1)

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

Download all attachments as: .zip

Change History (9)

@westi
17 years ago

Patch

#1 @westi
17 years ago

  • Keywords has-patch commit added

Props to andihit in IRC for the report.

#2 @westi
17 years ago

  • Version changed from 2.3 to 2.2.2

Also present in 2.2.2 and 2.0.11

#3 @ryan
17 years ago

+1 for all branches

#4 @westi
17 years ago

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

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

#5 @westi
17 years ago

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

Re-open for 2.2.3

#6 @westi
17 years ago

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

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

#7 @westi
17 years ago

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

Re-open for 2.0.12

#8 @westi
17 years ago

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

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