#40887 closed defect (bug) (duplicate)
Rendering oembed urls in revisions endpoint post content.
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 4.7 |
| Component: | REST API | Keywords: | |
| Focuses: | Cc: |
Description
Is there any reason why supported oembed urls are not rendered in the post[].content.rendered JSON data for wp/v2/posts/POST_ID/revisions?
(This is being accessed by a client site/app using a valid wp_nonce query parameter.)
Change History (4)
Note: See
TracTickets for help on using
tickets.
I think this was fixed in #40626. It looks like the oEmbed controller is looking for the global post in the shortcode callback. Does the error still occur on the latest Release Candidate.