Opened 6 years ago
Closed 6 years ago
#46138 closed enhancement (duplicate)
REST API: Include shortcode enqueued scripts in oEmbed proxy response
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Embeds | Keywords: | |
Focuses: | rest-api | Cc: |
Description
If an embed generated by the oEmbed proxy endpoint is handled by a shortcode, it might enqueue scripts necessary for its preview. In 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
Change History (1)
Note: See
TracTickets for help on using
tickets.
Duplicate of #45447.