add_image_size() and uploading the exact size leaves 1×1 image in uploads

http://codex.wordpress.org/Function_Reference/add_image_size

Specifically note that the syntax is

add_image_size( $size, $width, $height );

What is likely happening is the array is resolved to false and defaulting to 0, as well as height.

As far as I know you can’t have a 0x0 image, so it becomes 1×1 for that size.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)