WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WordPress Popular Posts] Widget title bug

[Plugin: WordPress Popular Posts] Widget title bug

  • wrk
    Member

    @wrk

    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/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WordPress Popular Posts] Widget title bug’ is closed to new replies.