[wp-trac] [WordPress Trac] #22587: Cast image sizes to array before looping

WordPress Trac noreply at wordpress.org
Tue Nov 27 01:28:26 UTC 2012


#22587: Cast image sizes to array before looping
------------------------------+------------------------------
 Reporter:  griffinjt         |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Warnings/Notices  |     Version:  3.3
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |
------------------------------+------------------------------

Comment (by SergeyBiryukov):

 `$out` is defined in `image_align_input_fields()`: [[BR]]
 http://core.trac.wordpress.org/browser/trunk/wp-
 admin/includes/media.php#L710

 But not in `image_size_input_fields()`. Seems missed in [8612].

 [attachment:22587.2.diff] fixes that.

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


More information about the wp-trac mailing list