htmlentities missing third parameter with default encoding.
-
Hi.
I notice that in file wordpress-popular-post.php when you replacing summary you are using function htmlentities.Line: 2689:
$string = str_replace( "{excerpt}", htmlentities($data['summary'], ENT_QUOTES), $string );
Line: 2693:
$string = str_replace( "{summary}", htmlentities($data['summary'], ENT_QUOTES), $string );
Please add third parameter to htmlentities
$this->charset
.
It making difference in PHP5.3 and PHP5.4.
In PHP5.4 charset is set default to UTF-8 but not in PHP5.3 so when using PHP5.3 thene charset is broken.Regards
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘htmlentities missing third parameter with default encoding.’ is closed to new replies.