WordPress.org

Support

Support » Plugins and Hacks » Empty Twitter feed

Empty Twitter feed

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Liam Gladdy

    @lgladdy

    Did you update to this mornings release (2.1.2)?

    I notice you’re using: $tweets = getTweets(3, billy_dallimore); – The string isn’t a string there, it’s a constant? It should be $tweets = getTweets(3, ‘billy_dallimore’);

    Though, as of 2.1 this morning, you should write it as:

    $tweets = getTweets(‘billy_dallimore’, 3);

    The old way still works, but this is much more sensical 🙂

    Thanks for your prompt reply.

    Completely missed this; strange though it works on dev and not prod. I’ll have a play and let you know the outcome.

    Plugin Author Liam Gladdy

    @lgladdy

    It is super weird! Maybe different PHP versions with different behaviour of constants?

    Thanks 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Empty Twitter feed’ is closed to new replies.