Support » Plugin: WordPress Popular Posts » Widget Title Error – After title, a non-desired character

  • Resolved Begood


    Hi !

    Thanks for your work.

    After the title there is an extra character.
    I think it’s in wordpress-popular-posts.php line 132:
    You have:

    echo htmlspecialchars_decode($instance['markup']['title-start'], ENT_QUOTES) . $instance['title'], ENT_QUOTES . htmlspecialchars_decode($instance['markup']['title-end'], ENT_QUOTES);

    In place of:

    echo htmlspecialchars_decode($instance['markup']['title-start'], ENT_QUOTES) . htmlspecialchars_decode($instance['title'], ENT_QUOTES) . htmlspecialchars_decode($instance['markup']['title-end'], ENT_QUOTES);

    Looks like it’s missing one htmlspecialchars for the title, so the value of ENT_QUOTES is displaying

Viewing 1 replies (of 1 total)
  • Plugin Author Héctor Cabrera


    Thanks for reporting this, Begood.

    I’ll be sure to include this fix on a future release of my plugin (v.2.1.6 maybe).

Viewing 1 replies (of 1 total)
  • The topic ‘Widget Title Error – After title, a non-desired character’ is closed to new replies.