[wp-unit-tests] [WordPress Unit Tests] #135: Test for the function image_make_intermediate_size()

WordPress Trac wp-trac at lists.automattic.com
Sat Oct 13 20:27:31 UTC 2012


#135: Test for the function image_make_intermediate_size()
--------------------------+------------------
 Reporter:  markoheijnen  |       Owner:
     Type:  defect        |      Status:  new
 Priority:  normal        |   Milestone:
Component:  Images/EXIF   |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by markoheijnen):

 Yes, that is correct. At least for non cropping. When only one is given
 then the other one will be calculated. The same as it would be a really
 really long integer.

 The only thing what I'm not sure about is when only one is given and you
 want to crop. Then I would say an error would occur but that also wasn't
 the case before the changes.

-- 
Ticket URL: <http://unit-tests.trac.wordpress.org/ticket/135#comment:2>
WordPress Unit Tests <http://unit-tests.trac.wordpress.org>
My example project


More information about the wp-unit-tests mailing list