wpbrasil / odin

Framework and base theme for development with WordPress.
http://wpod.in
563 stars 196 forks source link

Fix error msg when desired width/height is bigger than the actual image #503

Open lfventura opened 3 years ago

lfventura commented 3 years ago

In some cases this call is getting a higher desired width/height and printing errors in the application log. This will just avoid those error messages, not trying to set the values if this happens.

The PHP function returns "False" when a resize was not done.