[wp-trac] [WordPress Trac] #48324: Undefined index: full in/wp-includes/media.php on line 214

WordPress Trac noreply at wordpress.org
Fri Nov 1 04:43:19 UTC 2019


#48324: Undefined index: full in/wp-includes/media.php on line 214
-------------------------------------------------+---------------------
 Reporter:  Mte90                                |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  5.3.1
Component:  Media                                |     Version:  4.7
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch 2nd-opinion needs-testing  |     Focuses:
-------------------------------------------------+---------------------

Comment (by jrf):

 Had a quick look. IMHO a simpler fix - and just as effective - would be to
 replace the `! empty( $meta['sizes'] )` with `! empty(
 $meta['sizes']['full'] )`.

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


More information about the wp-trac mailing list