Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#40887 closed defect (bug) (duplicate)

Rendering oembed urls in revisions endpoint post content.

Reported by: kosso Owned by:
Priority: normal Milestone:
Component: REST API Version: 4.7
Severity: normal Keywords:
Cc: Focuses:

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)

#1 @TimothyBlynJacobs
9 years ago

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.

#2 @kosso
9 years ago

Confirmed. Issue resolved in 4.8-RC1-40853.

Thanks.

#3 @kosso
9 years ago

  • Resolutioninvalid
  • Status newclosed

#4 @ocean90
9 years ago

  • Milestone Awaiting Review
  • Resolution invalidduplicate
  • Version 4.7.54.7

Duplicate of #40626.

Note: See TracTickets for help on using tickets.