WordPress.org

Ready to get started?Download WordPress

Forums

Live Blogging
[resolved] Why not html_entity_decode $content? (3 posts)

  1. jessicadennis
    Member
    Posted 3 years ago #

    Hey,

    I think the plugin is totally awesome, but I'm curious why you didn't go ahead and html_entity_decode the $content so that tweets don't come through with quotes and ampersands encoded (" and '). Doing so does seem to result in more attractive tweets, but I'm willing to accept that there may be a good reason not to (in short, what did I just break when I did that? (-:).

    Thanks,
    Jessica

  2. chrisnorthwood
    Member
    Plugin Author

    Posted 3 years ago #

    I can't think of a good reason why I didn't - it's almost certainly an oversight

  3. jessicadennis
    Member
    Posted 3 years ago #

    Excellent, I will leave my code in place then. Thanks for the reassurance! I know just enough to get myself in trouble sometimes (everyone's second-least kind of user; or maybe third after know-it-alls), so I was a little worried. And I must reiterate, love the plugin. It works super well.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic