add_image_size() shouldn't crop 0 values
|Reported by:||Clorith||Owned by:|
When using add_image_size() the image should only be cropped by values that are entered, the following example should only crop the height, and leave the width as the upload original;
add_image_size( 'wide-image', 0, 400, true );
If one uploads a 1600x1600 image, the above should then crop this to 1600x400.