[wp-trac] [WordPress Trac] #46138: REST API: Include shortcode enqueued scripts in oEmbed proxy response

WordPress Trac noreply at wordpress.org
Tue Jan 29 21:11:34 UTC 2019


#46138: REST API: Include shortcode enqueued scripts in oEmbed proxy response
-------------------------+-----------------------------
 Reporter:  aduth        |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  REST API     |    Version:
 Severity:  normal       |   Keywords:
  Focuses:  rest-api     |
-------------------------+-----------------------------
 If an embed generated by the oEmbed proxy endpoint is handled by a
 shortcode, it might enqueue scripts necessary for its preview. In
 [https://github.com/WordPress/gutenberg/pull/9734 GB9734], the oEmbed
 proxy endpoint was enhanced to include enqueued scripts as part of the
 embed response. Similar functionality should be brought to core, or
 decided against (both in closing this ticket and removing the
 functionality from Gutenberg).

 Related:

 - https://github.com/WordPress/gutenberg/pull/9734
 - https://github.com/WordPress/gutenberg/pull/13575

 cc @notnownikki

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46138>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list