Make WordPress Core

Opened 2 years ago

Last modified 16 months ago

#55961 new enhancement

Add embed to WP_REST_Request class

Reported by: spacedmonkey's profile spacedmonkey Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7
Component: REST API Keywords: has-patch
Focuses: rest-api Cc:

Description

Add embed param to WP_REST_Request class, to add extra context to the request and allow for improved nested embeds.

Change History (3)

#1 @TimothyBlynJacobs
2 years ago

Yeah I think this is a great idea. I think the language should also indicate that this is a hint and not a guarantee. Something like WP_REST_Request::get_embed_hint().

This ticket was mentioned in PR #2802 on WordPress/wordpress-develop by spacedmonkey.


2 years ago
#2

  • Keywords has-patch added

This ticket was mentioned in Slack in #core-restapi by spacedmonkey. View the logs.


16 months ago

Note: See TracTickets for help on using tickets.