PaulB
Well-known member
- Affected version
- 2.2.13
We're starting to see Twitter links that use x.com instead of twitter.com posted on our forums, despite the fact that x.com redirects to twitter.com. The "Share" button on tweets now gives an x.com URL. As such,
Other XF customers also appear to be encountering this issue: https://xenforo.com/community/threads/twitter-now-x-no-longer-auto-embedding.215985/
Temporary workaround:
Since this changes a media site associated with the core
match_urls
should be updated to include x.com.Other XF customers also appear to be encountering this issue: https://xenforo.com/community/threads/twitter-now-x-no-longer-auto-embedding.215985/
Temporary workaround:
SQL:
update xf_bb_code_media_site set match_urls = 'twitter.com/*/status/{$id}\ntwitter.com/statuses/{$id}\nx.com/*/status/{$id}\nx.com/statuses/{$id}' where media_site_id = 'twitter';
XF
add-on, it'll be overwritten on the next update. This avoids the need to create a duplicate media site that can never be deleted without breaking existing posts, and it ensures that future updates to the affected media site will be received alongside future XF updates. As long as you're comfortable with SQL, this is arguably a safer workaround without the long-term side effects of manually duplicating the media site.