[wp-trac] [WordPress Trac] #17736: Undefined Index in image-edit.php

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 20 01:42:39 UTC 2011


#17736: Undefined Index in image-edit.php
--------------------------+------------------------------
 Reporter:  miqrogroove   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  3.1.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => has-patch


Comment:

 A `!empty()` check probably wouldn't hurt.

 I couldn't reproduce the issue though. The notice means that there's no
 thumbnail for the image, while "Thumbnail Settings" block with target
 selection is only displayed when the thumbnail is present.

 Perhaps the image metadata was malformed? In that case, the issue might be
 deeper.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17736#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list