]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-trackback.php
Wordpress 2.8.5
[autoinstalls/wordpress.git] / wp-trackback.php
index 58886f8dc574c6924766edbc239498d6a6eb56bf..2c45d472c7609fc1ce599e90713c8166851231fb 100644 (file)
@@ -50,7 +50,7 @@ $excerpt   = stripslashes($_POST['excerpt']);
 $blog_name = stripslashes($_POST['blog_name']);
 
 if ($charset)
-       $charset = strtoupper( trim($charset) );
+       $charset = str_replace( array(',', ' '), '', strtoupper( trim($charset) ) );
 else
        $charset = 'ASCII, UTF-8, ISO-8859-1, JIS, EUC-JP, SJIS';