set_post_thumbnail_size only working for width

This code will only work with images uploaded after it was implemented, for older images use a plugin like “thumbnail regenerate” to resize them.

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