Make WordPress Core

Ticket #594: quotes.patch

File quotes.patch, 422 bytes (added by bcrow, 17 years ago)
  • \wp-includes\functions-formatting.php

    old new  
    104104        $text = str_replace('>', '>', $text);
    105105        if ( $quotes ) {
    106106                $text = str_replace('"', '"', $text);
    107                 $text = str_replace('"', ''', $text);
     107                $text = str_replace("'", ''', $text);
    108108        }
    109109        return $text;
    110110}