Closed miklb closed 6 years ago
I've solved this in Post Kinds by adding a hidden link with the u-url, But that wouldn't work for a shortcode embed. Why not add the hidden link in the filter, rather than adding u-url
I don't follow what you mean by hidden link.
I just add an empty link that can't be seen
Since I am planning on deprecating the plugin, marking these.
If you are using oembed Tweets, and do a reply to a tweet, the embedded HTML (which I learned is stored in the postmeta) doesn't include
u-url
on the link to the tweet. Thus, if attempting a reply kind to a Tweet, bridgy will throw an error "no link could be found".So far, and only looking specifically at stored tweet embed code, I have come up with this in my
kind.php
template to add theu-url
.I have started looking at the WP function oembed_result to possibly add the class when WP stores the HTML from Twitter, rather than doing it on the fly in the template. Would love some other perspective.