WordPress.org

Ready to get started?Download WordPress

Forums

Twitter Tracker
Characters not being translated correctly: &, >, etc (4 posts)

  1. Bunny Sinclair
    Member
    Posted 1 year ago #

    The Twitter widget isn't processing certain characters correctly, like & and <, >, etc. Instead they are rendering as HTML code.

    Can you suggest where to update the PHP?

    http://wordpress.org/extend/plugins/twitter-tracker/

  2. Bunny Sinclair
    Member
    Posted 1 year ago #

    Looks like this hasn't been fixed yet, but for anyone else who's running into this issue, I just added the following line of code to the twitter-search.php file:

    // Decode special characters By: JSF
    $content = htmlspecialchars_decode( $content );

  3. Bunny Sinclair
    Member
    Posted 1 year ago #

    By the way, it would help if the above line of code could be added to the plugin source files, so that it will be present with each update. Thx.

  4. jaquintd
    Member
    Posted 1 year ago #

    hmm, this didn't work for me. Any idea if it matters what line it's on in model/twitter-search.php?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.