WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Popular Posts
Widget title bug (2 posts)

  1. wrk
    Member
    Posted 2 years ago #

    HEy,

    I just found a little bug in your plugin code (file:wordpress-popular-posts.php) near line 132:

    // 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);
    	} else {
    		echo $before_title . $instance['title'] . $after_title;
    	}
    }

    $instance['title'], ENT_QUOTES I suppose should be: $instance['title']

    http://wordpress.org/extend/plugins/wordpress-popular-posts/

  2. Héctor Cabrera
    Member
    Plugin Author

    Posted 2 years ago #

    Hi there,

    Will take a look at this as soon as possible. Thanks for the notice!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic