Fixed error when crop is set to false …

These commits fix error when $crop is set to false and WP 3.5+ is used.

Second commit is just spacing fix of the first commit, which solves the error.

Tested and working.