WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
Jetpack: HTML Tags in Twitter Error Message (4 posts)

  1. johnhennmacc
    Member
    Posted 1 year ago #

    Whenever my Twitter feed cannot be loaded in the Jetpack Twitter widget, the following is displayed:

    <p>Error: Twitter did not respond. Please wait a few minutes and refresh this page.</p>

    Can we have it without the <p> tags please?

    http://wordpress.org/extend/plugins/jetpack/

  2. Tommy
    Member
    Posted 1 year ago #

    I have the same problem.

    The tags appear unescaped and outside of the translate function in jetpack/modules/widgets/twitter.php, so I can't find what code is responsible for modifying the markup.

    It seems also that set_transient() is used in this file, presumably to cache the response from Twitter and use the last cached response instead of an error message. Maybe there is a problem with the implementation of this?

  3. Tim Moore
    Moderator
    Plugin Author

    Posted 1 year ago #

    I'll take a look at this and see what is going on. Thanks for the reports.

  4. Tommy
    Member
    Posted 1 year ago #

    Excellent. If you're having problems replicating, it happens occasionally in the sidebar here whenever Twitter does not respond:

    http://tpyatt.com/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic