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

WordPress Trac noreply at wordpress.org
Fri Feb 17 08:19:09 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 611shabnam):

 **We are testing from WordCamp Asia 2023 from Thailand.
 **

 This report validates that the issue can be reproduced.

 Environment
 OS: macOS Monetery 12.3.1 (21E258)
 Web Server:
 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
 Akismet Antispam 5.0.2


 Actual Results

 ✅ Error condition occurs (reproduced).
 **Additional Notes**
 I checked the following scenario:
 Created post & added featured image
 Created a second post with the same featured image used in the first post
 Deleted first post and checked second post featured image metadata through
 URL - http://<your-site-url>/wp-json/wp/v2/posts/secondPostID?_embed
 Next, I created a third post and added the same featured image through the
 URL - http://<your-site-url>/wp-json/wp/v2/posts/secondPostID?_embed

 ✅ Issue reproduced.
 **Supplemental Artifacts**
 Before deleting the Second Post - https://tinyurl.com/2ohw8x6b
 After deleting the Second post - https://tinyurl.com/2e5529bk
 After creating the third post - https://tinyurl.com/2k2k7yqm

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


More information about the wp-trac mailing list