Strip commas and spaces from charset. Props Jose Carlos Norte
git-svn-id: https://develop.svn.wordpress.org/trunk@12032 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6d99e52613
commit
52c593458d
@ -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';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user