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

  1. johnhennmacc
    Posted 3 years 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?


  2. Tommy
    Posted 3 years 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

    Plugin Contributor

    Posted 3 years ago #

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

  4. Tommy
    Posted 3 years ago #

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


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Jetpack by WordPress.com
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic