Make WordPress Core

Ticket #1100: functions-formatting.php.diff

File functions-formatting.php.diff, 1.0 KB (added by bcrow, 20 years ago)
  • wp-includes/functions-formatting.php

     
    1616                        $curl = str_replace('``', '“', $curl);
    1717
    1818                        // This is a hack, look at this more later. It works pretty well though.
    19                         $cockney = array("'tain't","'twere","'twas","'tis","'twill","'til","'bout","'nuff","'round");
    20                         $cockneyreplace = array("’tain’t","’twere","’twas","’tis","’twill","’til","’bout","’nuff","’round");
     19                        $cockney = array("'tain't","'twere","'twas","'tis","'twill","'til","'bout","'nuff","'round","'cause");
     20                        $cockneyreplace = array("’tain’t","’twere","’twas","’tis","’twill","’til","’bout","’nuff","’round","’cause");
    2121                        $curl = str_replace($cockney, $cockneyreplace, $curl);
    2222
    2323                        $curl = preg_replace("/'s/", '’s', $curl);