I have a problem where a "3" inexplicably appears after the heading when I select custom HTML markup, and it appears that upgrading to 2.1.5 beta solved similar issues for some users. Does anyone have a link they can provide me?
Much appreciated!
http://wordpress.org/extend/plugins/wordpress-popular-posts/
luminarie
Member
Posted 1 year ago #
I don't have the beta, but the culprit is on line 132 of the plugin file wordpress-popular-posts.php . The title is missing the htmlspecialchars_decode() function. Replace line 132 with the following:
echo htmlspecialchars_decode($instance['markup']['title-start'], ENT_QUOTES) . htmlspecialchars_decode($instance['title'], ENT_QUOTES) . htmlspecialchars_decode($instance['markup']['title-end'], ENT_QUOTES);
and the mysterious appended 3 will disappear.