Forums

WordPress Popular Posts
Widget title bug (2 posts)

  1. wrk
    Member
    Posted 8 months 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
    Posted 8 months ago #

    Hi there,

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

Reply

You must log in to post.

About this Plugin

About this Topic