[wp-trac] [WordPress Trac] #39696: REST API: Filter which links get embedded when passing the ?_embed query parameter

WordPress Trac noreply at wordpress.org
Sat Jul 22 17:26:05 UTC 2017


#39696: REST API: Filter which links get embedded when passing the ?_embed query
parameter
-------------------------------------------------+-------------------------
 Reporter:  rheinardkorf                         |       Owner:  jnylen0
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
Component:  REST API                             |  Release
 Severity:  normal                               |     Version:  4.4
 Keywords:  has-patch has-unit-tests needs-      |  Resolution:
  refresh                                        |     Focuses:  rest-api
-------------------------------------------------+-------------------------

Comment (by greatislander):

 As per @jnylen0 in [https://wordpress.slack.com/archives/core-
 restapi/p1500717565284091 Slack], I believe this patch would also ensure
 that requests routed through `rest_do_request()` respect the `_embed`
 parameter if set (currently they don't).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39696#comment:33>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list