Make WordPress Core

Changeset 12057


Ignore:
Timestamp:
10/19/2009 03:10:59 PM (16 years ago)
Author:
ryan
Message:

Strip commas and spaces from charset. Props Jose Carlos Norte

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.8/wp-trackback.php

    r7991 r12057  
    5151
    5252if ($charset)
    53     $charset = strtoupper( trim($charset) );
     53    $charset = str_replace( array(',', ' '), '', strtoupper( trim($charset) ) );
    5454else
    5555    $charset = 'ASCII, UTF-8, ISO-8859-1, JIS, EUC-JP, SJIS';
Note: See TracChangeset for help on using the changeset viewer.