[wp-trac] [WordPress Trac] #64499: Undefined array key "file" in wp-includes/media.php

WordPress Trac noreply at wordpress.org
Tue Jan 13 15:48:52 UTC 2026


#64499: Undefined array key "file" in wp-includes/media.php
--------------------------+------------------------
 Reporter:  djsuperfive   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:  duplicate
 Keywords:                |     Focuses:
--------------------------+------------------------
Changes (by sabernhardt):

 * status:  new => closed
 * severity:  blocker => normal
 * version:  6.9 =>
 * milestone:  Awaiting Review =>
 * keywords:  needs-patch =>
 * resolution:   => duplicate


Comment:

 The missing "file" array key in `wp_image_add_srcset_and_sizes()` is
 already reported on #60480. I'll add that your image was WEBP, not a PDF.
 If you have anything more to add there, please join that discussion.

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


More information about the wp-trac mailing list