[wp-trac] [WordPress Trac] #44632: Properly enqueue wp-embed

WordPress Trac noreply at wordpress.org
Mon Oct 11 13:39:36 UTC 2021


#44632: Properly enqueue wp-embed
-------------------------------------+-------------------------------------
 Reporter:  alpipego                 |       Owner:  westonruter
     Type:  enhancement              |      Status:  accepted
 Priority:  normal                   |   Milestone:  5.9
Component:  Embeds                   |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch has-unit-      |     Focuses:  javascript,
  tests                              |  performance
-------------------------------------+-------------------------------------

Comment (by swissspidy):

 Replying to [comment:4 westonruter]:
 > I see there is also already such inlining being done in
 `get_post_embed_html()` for internal post embeds. Perhaps that just needs
 to be done for all post embeds, including external ones.

 That's not what the function does. `get_post_embed_html()` is for
 providing the embed code via the oEmbed restpoint, in case other platforms
 want to embed a blog post.

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


More information about the wp-trac mailing list