Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.42k stars 1.99k forks source link

X.com links doesn't embed automatically on Simple sites #92266

Closed devNigel closed 1 month ago

devNigel commented 4 months ago

Quick summary

X ( Twitter ) has officially changed its domain from twitter.com to x.com. Hence, the URL that we get from X when pasted to the editor ( post, page or comment box ) as a link or in the shortcode no longer works as expected.

The issue is reproducible on Simple sites.

Steps to reproduce

  1. Grab an X link, such as this: https://x.com/MKBHD/status/1806486060978831763
  2. Go to Post / Page editor or a comment box editor
  3. Paste the link.

What you expected to happen

Expected to see X tweet to get embedded on the editor.

What actually happened

X tweet did not get embedded on the editor.

Screenshot: zmoMKk.png

Impact

All

Available workarounds?

Yes, easy to implement

Platform (Simple and/or Atomic)

Simple

Logs or notes

Workaround:

Replace x.com with twitter.com

User report: 8377888-zd-a8c

jartes commented 4 months ago

📌 REPRODUCTION RESULTS

📌 ACTIONS

jeroenpf commented 1 month ago

This has been fixed already. I was able to paste the example X link and it correctly creates the embed:

Image

I will close this issue

github-actions[bot] commented 1 month ago

Support References

This comment is automatically generated. Please do not edit it.