Make WordPress Core

Changeset 12032


Ignore:
Timestamp:
10/14/2009 04:21:28 PM (15 years ago)
Author:
ryan
Message:

Strip commas and spaces from charset. Props Jose Carlos Norte

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-trackback.php

    r7991 r12032  
    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.