Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 5 years ago

#47403 closed defect (bug) (invalid)

Tweet with image(s) not rendered in frontend

Reported by: openstream Owned by:
Priority: normal Milestone:
Component: Embeds Version: 5.2.1
Severity: normal Keywords:
Cc: Focuses:

Description

I wrote a blog post with multiple embedded tweets. The first one with image shows correctly, but the 2nd one doesn't. In the backend, though, all embedded tweets show properly. The tweet is ​https://twitter.com/nickweisser/status/869879894385328128, but I also tested with other tweets that only contain one image, same result. If I use a text-only tweet it's rendered correctly, though.

I'm going to test this with another theme shorty, to make sure it's not theme related...

Attachments (2)

Screenshot Frontend.png​ (84.2 KB ) - added by openstream 7 years ago.
Screenshot Backend.png​ (438.8 KB ) - added by openstream 7 years ago.

Download all attachments as: .zip

Change History (6)

#1 @openstream
7 years ago

  • Resolution → invalid
  • Status new → closed

It works with Twenty Nineteen, so it seems to be theme related 🙄

#2 @swissspidy
7 years ago

  • Component General → Embeds
  • Milestone Awaiting Review

FWIW when an oEmbed does not work it's often because of intermittent request failures. WordPress caches failed requests on a per-post basis. What usually helps is clearing that cache (e.g. using wp embed clear) or by creating a new post.

#3 @openstream
7 years ago

Thanks for the pointer, wp embed cache clear <post_id> fixed it 😱

This ticket was mentioned in ​Slack in #cli by openstream. ​View the logs.


5 years ago

Note: See TracTickets for help on using tickets.