Ticket #4804 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Incorrect variable name used in cockney replace code.

Reported by: westi Assigned to: 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 (0.7 kB) - added by westi on 08/23/07 14:22:18.
Patch

Change History

08/23/07 14:22:18 changed by westi

  • attachment 4804.diff added.

Patch

08/23/07 14:23:28 changed by westi

  • keywords set to has-patch commit.

Props to andihit in IRC for the report.

08/23/07 14:36:20 changed by westi

  • version changed from 2.3 to 2.2.2.

Also present in 2.2.2 and 2.0.11

08/23/07 16:32:54 changed by ryan

+1 for all branches

08/23/07 21:02:32 changed by westi

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

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

08/23/07 21:03:15 changed by westi

  • status changed from closed to reopened.
  • resolution deleted.
  • milestone changed from 2.3 (trunk) to 2.2.3.

Re-open for 2.2.3

08/23/07 21:05:27 changed by westi

  • 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

08/23/07 21:06:01 changed by westi

  • status changed from closed to reopened.
  • resolution deleted.
  • milestone changed from 2.2.3 to 2.0.12.

Re-open for 2.0.12

08/23/07 21:15:51 changed by westi

  • 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