[wp-trac] [WordPress Trac] #58535: Undefined array key "file" in function wp_calculate_image_srcset()

WordPress Trac noreply at wordpress.org
Wed Jun 14 09:53:56 UTC 2023


#58535: Undefined array key "file" in function wp_calculate_image_srcset()
--------------------------+-----------------------------
 Reporter:  martinjhenne  |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  6.2.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I noticed the following two warnings in the error log:

 {{{
 PHP Warning:  Undefined array key "file" in xxx/wp-includes/media.php on
 line 1367"
 PHP Warning:  Undefined array key "file" in xxx/wp-includes/media.php on
 line 1373"
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58535>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list