Make WordPress Core

Ticket #4804: 4804.diff

File 4804.diff, 762 bytes (added by westi, 16 years ago)

Patch

  • wp-includes/formatting.php

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