Changeset 2001

Show
Ignore:
Timestamp:
12/25/04 17:21:43 (4 years ago)
Author:
rboren
Message:

Fix single quote sanitization. Bug 594. Hat Tip: bcrow.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/functions-formatting.php

    r1999 r2001  
    105105    if ( $quotes ) { 
    106106        $text = str_replace('"', '"', $text); 
    107         $text = str_replace('"', ''', $text); 
     107        $text = str_replace("'", ''', $text); 
    108108    } 
    109109    return $text;