WordPress.org

Forums

WP Socializer
html codes in Tweets getting mangaled (1 post)

  1. mvandemar
    Member
    Posted 1 year ago #

    This is the same issue as in this post:

    http://wordpress.org/support/topic/problem-with-tweets-displaying-incorrectly

    That thread had been makred Resolved, even though it wasn't, so I am opening a new thread in the hopes that the plugin author will see it and attend to it in the next version.

    The problem was with line 49 in includes/wpsr-retweet.php. The plugin was stripping out all ampersands (&) and pound signs (#), so this:

    "They're baaaaack!"

    was becoming this:

    quot;They&039;re baaaaack!quot;

    I modified the str_repolace to not remove those two characters and it started working again. I am not sure why he was doing that in the first place, but it was definitely deliberate so in some cases this fix may break something else. I am only using the Twitter button, and the same function pertained to both Tweetmeme and Topsy, so it's possible those won't work with these changes.

    http://wordpress.org/extend/plugins/wp-socializer/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Socializer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.