WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Popular Posts
Would someone be willing to provide the WPP Beta 2.1.5 .zip? (2 posts)

  1. msuen
    Member
    Posted 3 years ago #

    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/

  2. luminarie
    Member
    Posted 3 years 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic