Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Installation Error Message

Here are lines 106 – 119:

if ( version_compare( PHP_VERSION, ‘5.2.3’, ‘>=’ ) ) {

$string = htmlentities( $string, $quote_style, $charset, $double_encode );

} else {

// Handle double encoding for PHP versions that don’t support it in htmlentities()

if ( !$double_encode ) {

// Multi-byte charsets are not supported below PHP 5.0.0

// ‘cp866’, ‘cp1251’, ‘KOI8-R’ charsets are not supported below PHP 4.3.2

$string = html_entity_decode( $string, $quote_style, $charset );

}

// ‘cp866’, ‘cp1251’, ‘KOI8-R’ charsets are not supported below PHP 4.3.2

$string = htmlentities( $string, $quote_style, $charset );

}

return $string;

Skip to toolbar