[wp-trac] [WordPress Trac] #41445: post_parent can prevent media from embedding correctly

WordPress Trac noreply at wordpress.org
Fri Feb 17 07:55:25 UTC 2023


#41445: post_parent can prevent media from embedding correctly
-------------------------------------------------+-------------------------
 Reporter:  loboyle                              |       Owner:
                                                 |  adamsilverstein
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.2
Component:  Media                                |     Version:  4.9.4
 Severity:  normal                               |  Resolution:
 Keywords:  dev-feedback needs-unit-tests has-   |     Focuses:  rest-api
  testing-info needs-patch needs-testing         |
-------------------------------------------------+-------------------------

Comment (by ashokrd2013):

 == Reproduction Report
 This report validates that the issue can be reproduced.

 === Environment
 * OS: macOS 11.2.3
 * Web Server: Nginx
 * PHP: 7.4.30
 * WordPress: 6.2-beta2-55340-src
 * Browser: Safari 15.4
 * Theme: Twenty Twenty-Two
 * Active Plugins:
   * Hello Dolly 1.7.2
   * WP Reset 1.97

 === Actual Results
 - ✅ Error condition occurs (reproduced).

 === Additional Notes
 - I checked the following scenario:
 1. Created post & added featured image
 2. Created a second post with the same featured image used in the first
 post
 3. Deleted first post and checked second post featured image metadata
 through URL - http://<your-site-url>/wp-
 json/wp/v2/posts/secondPostID?_embed
 4. ✅ Issue reproduced.

 === Supplemental Artifacts
 Before deleting the first Post - https://prnt.sc/5jFIaRBOnQZ1
 After deleting the first post - https://prnt.sc/Oc1k6QR4I2eo

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


More information about the wp-trac mailing list