[wp-trac] [WordPress Trac] #19908: PHP warnings in media listing

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 27 20:47:03 UTC 2012


#19908: PHP warnings in media listing
-------------------------------+------------------------------
 Reporter:  dimitrov.adrian    |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Media              |     Version:  3.3.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------
Changes (by nacin):

 * keywords:   => reporter-feedback


Comment:

 Hi, can we have some steps to reproduce? These notices indicate that
 image_get_intermediate_size() is being called with incorrect arguments. If
 you are passing $size as an array, it needs to be `array( $width, $height
 )`, where $width and $height are integers.

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


More information about the wp-trac mailing list