Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#54414 new enhancement

Support embedding Mobile Twitter URLs

Reported by: dpcalhoun's profile dpcalhoun Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.0
Component: Embeds Keywords:
Focuses: Cc:

Description

When embedding a mobile variant of a Tweet URL, the Gutenberg Embed block considers the URL to be an invalid embed.

Steps to Reproduce

  1. Add an Embed block via the web or native mobile Gutenberg block editor.
  2. Set the Embed block URL to a mobile Twitter URL: https://mobile.twitter.com/rauchg/status/807626710350839808
  3. Save the Embed block settings, persisting the URL.

Expected Result

The Embed block displays a preview of the Tweet as an embed.

Actual Result

The Embed block marks the URL as invalid, resulting in a error message or a plain text URL.

Environment

  • WordPress: 5.8.1
  • Theme: Twenty Twenty-One
  • Plugins: none
  • Browser: macOS Safari 15.1

Change History (1)

#1 @knutsp
3 years ago

  • Component changed from General to Embeds
  • Focuses rest-api removed
  • Version changed from 5.8.1 to 5.0
Note: See TracTickets for help on using tickets.