[wp-trac] [WordPress Trac] #17626: image_get_intermediate_size() may return wrong thumbnail size

WordPress Trac noreply at wordpress.org
Sat Jan 3 04:02:30 UTC 2015


#17626: image_get_intermediate_size() may return wrong thumbnail size
--------------------------+-----------------------------
 Reporter:  chipbennett   |       Owner:  markoheijnen
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  Future Release
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------

Comment (by joemcgill):

 Replying to [comment:30 Krstarica]:
 > Joe, can you add special case as mentioned in #comment:28

 Hi Krstarica,

 Could you elaborate on what you expect the result to be when an array is
 passed containing a zero for either width or height? And would this be a
 change in behavior in the function in its current, pre patched, form?

 Thanks.

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


More information about the wp-trac mailing list