[wp-trac] [WordPress Trac] #28152: image_resize_dimensions() function return false;
WordPress Trac
noreply at wordpress.org
Tue May 6 18:22:52 UTC 2014
#28152: image_resize_dimensions() function return false;
-------------------------------------+------------------------------
Reporter: alexvorn2 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: close reporter-feedback | Focuses:
-------------------------------------+------------------------------
Changes (by ocean90):
* keywords: => close reporter-feedback
Comment:
From `image_resize_dimensions()`:
{{{
// if the resulting image would be the same size or larger we don't want
to resize it
if ( $new_w >= $orig_w && $new_h >= $orig_h )
return false;
}}}
Why are you expecting an array?
Related: #19118
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28152#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list