On my blog: http://loneplacebo.com/, I have the WP Popular Posts plugin installed and displayed in the sidebar. The title, " Current Hits:" is appended with a "3" at the end. Can't figure out why. It's driving me insane.
On my blog: http://loneplacebo.com/, I have the WP Popular Posts plugin installed and displayed in the sidebar. The title, " Current Hits:" is appended with a "3" at the end. Can't figure out why. It's driving me insane.
I see that your blog LonePlacebo is pretty much dead, but perhaps this will help someone else:
// has user set a title?
if ($instance['title'] != '') {
if ($instance['markup']['custom_html'] && $instance['markup']['title-start'] != "" && $instance['markup']['title-end'] != "" ) {
echo htmlspecialchars_decode($instance['markup']['title-start'], ENT_QUOTES) . $instance['title'], ENT_QUOTES . htmlspecialchars_decode($instance['markup']['title-end'], ENT_QUOTES);
// has user set a title?
if ($instance['title'] != '') {
if ($instance['markup']['custom_html'] && $instance['markup']['title-start'] != "" && $instance['markup']['title-end'] != "" ) {
echo htmlspecialchars_decode($instance['markup']['title-start'], ENT_QUOTES) . htmlspecialchars_decode($instance['title'], ENT_QUOTES) . htmlspecialchars_decode($instance['markup']['title-end'], ENT_QUOTES);
The issue was that the author set ENT_QUOTES outside of the htmlspecialchars() function.
This topic has been closed to new replies.