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

WordPress Trac noreply at wordpress.org
Wed Jun 14 10:30:06 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        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by martinjhenne):

 More warnings in the same function

 {{{
 PHP Warning:  Undefined array key "width" in xxx/wp-includes/media.php on
 line 1390
 PHP Warning:  Undefined array key "height" in xxx/wp-includes/media.php on
 line 1390
 }}}

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


More information about the wp-trac mailing list