Make WordPress Core

Changeset 2001


Ignore:
Timestamp:
12/25/2004 05:21:43 PM (21 years ago)
Author:
rboren
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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;
Note: See TracChangeset for help on using the changeset viewer.