[wp-trac] [WordPress Trac] #45610: oEmbed Tweets from Twitter with external links uses t.co
WordPress Trac
noreply at wordpress.org
Thu Dec 13 02:39:17 UTC 2018
#45610: oEmbed Tweets from Twitter with external links uses t.co
-------------------------+-----------------------------
Reporter: micasuh | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version: 5.0
Severity: normal | Keywords: oembed twitter
Focuses: |
-------------------------+-----------------------------
Currently, when embedding a Tweet that has an external link, WordPress
imports the string value from the link element with the
type="application/json+oembed" attribute that includes a URL shortener
t.co.
My understanding is that t.co is also a tracker for Twitter's analytics
and it doesn't seem necessary for WordPress to support this.
It makes sense for WordPress' oEmbed feature to use the data attribute
"data-expanded-url" that contains the original URL.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45610>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list