-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CAP does not filter the byline that is output for posts via oEmbed; oEmbed consumers show the wrong byline #921
Comments
get_oembed_response_data is what provides the author and author_url keys there; it provides a filter oembed_response_data that allows us to change the response. |
The problem is that it doesn't look like oEmbed supports multiple authorship: iamcal/oembed#686 |
In the case of multiple bylines, since there's no support for multiple distinct authors and respective URLs, it may be easiest to do the following:
|
@rebeccahum any thoughts from the team on an answer here or potential direction on any respective changes that could be contributed? |
Can you give more detail on what is trying to be achieved here with steps on reproduction? Thanks! |
The goal here is to have Slack and other oEmbed consumers show the correct author(s) in the byline. It doesn't appear that that is the case with the current version of CAP. |
Cool, feel free to open a PR for our review 🙂 |
Until the oembed spec changes (thanks for opening that issue), then I think the best we can do is make sure the author that is shown is the first / one of the Coauthors. |
Here's a test post by a WP_User:
And here's a test post by a Coauthor:
The text was updated successfully, but these errors were encountered: