Permalink
Browse files

Silence charset not supported warnings

git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent 8bdb072 commit a5347b5be6a22a4136288a8d7460de62cebd70a1 ryan committed Jan 21, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 wp-includes/formatting.php
@@ -247,7 +247,7 @@ function wp_specialchars( $string, $quote_style = ENT_NOQUOTES, $charset = false
$string = preg_replace( '/&(#?x?[0-9]+|[a-z]+);/i', '|wp_entity|$1|/wp_entity|', $string );
}
- $string = htmlspecialchars( $string, $quote_style, $charset );
+ $string = @htmlspecialchars( $string, $quote_style, $charset );
// Handle double encoding ourselves
if ( !$double_encode ) {

0 comments on commit a5347b5

Please sign in to comment.