[wp-trac] [WordPress Trac] #53573: Non-WP Blog Embeds are being cropped.

WordPress Trac noreply at wordpress.org
Fri Jan 30 19:12:27 UTC 2026


#53573: Non-WP Blog Embeds are being cropped.
--------------------------+------------------------------
 Reporter:  mdwolinski    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Embeds        |     Version:  5.7.2
 Severity:  normal        |  Resolution:
 Keywords:  close         |     Focuses:  ui, css
--------------------------+------------------------------
Changes (by r1k0):

 * keywords:  needs-testing => close


Comment:

 == Reproduction Report

 === Environment
 - WordPress: 6.9
 - PHP: 8.4.17
 - Server: PHP.wasm
 - Database: WP_SQLite_Driver (Server: 8.0.38 / Client: 3.51.0)
 - Browser: Chrome 144.0.0.0
 - OS: Windows 10/11
 - Theme: Twenty Twenty-Five 1.4
 - MU Plugins: None activated
 - Plugins:
   * NYTimes Embed 1.0.0
   * Test Reports 1.2.1

 === Steps taken
 1. First, add a test plugin to enable support for NYTimes embed. Code is
 below in [#supportcontent Support content] section.
 2. Head over to **Posts > Add post**, and add the **embed** block.
 3. Paste a NYTimes article link, and publish the post.
 4. Go to the frontend and observe the height of the embedded post.
 5. ❌ Bug is not occurring

 === Expected behavior
 - The NYTimes post is displayed in full height.

 === Additional Notes
 - This issue seems to have been resolved.
 - Unable to pinpoint the exact code that fixed this issue.
 - You need the test plugin, since NYTimes embeds are not in the WP
 [https://developer.wordpress.org/reference/hooks/oembed_providers/ allowed
 list].
 - Related:
  ticket:49173, Gutenberg:
 [https://github.com/WordPress/gutenberg/issues/13000 13000].

 === Screenshots/Screencast with results
 In Editor:
 [[Image(https://i.ibb.co/84G9XnYv/embed-nytimes-post-editor.png)]]

 In frontend:
 [[Image(https://i.ibb.co/nN543vGy/embed-nytimes-frontend.png)]]

 === Support Content
 [=#supportcontent]
 {{{
 <?php
 /**
 * Plugin Name: NYTimes Embed
 * Description: Add support for nytimes embed
 * Version: 1.0.0
 */

 if ( ! defined( 'ABSPATH' ) ) {
         exit;
 }

 function nytimes_register_oembed_provider() {
         wp_oembed_add_provider( '#https?://(www\.)?nytimes\.com/.*#i',
 'https://www.nytimes.com/svc/oembed/json/', true );
 }

 add_action( 'init', 'nytimes_register_oembed_provider' );
 }}}

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


More information about the wp-trac mailing list