[wp-trac] [WordPress Trac] #17626: image_get_intermediate_size() may return wrong thumbnail size
WordPress Trac
noreply at wordpress.org
Fri May 23 10:15:46 UTC 2014
#17626: image_get_intermediate_size() may return wrong thumbnail size
----------------------------------------+-----------------------------
Reporter: chipbennett | Owner: markoheijnen
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Future Release
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+-----------------------------
Comment (by kitchin):
The `! $size` check is redundant (except for `array()`, a pathological
case which would cause other errors). It's confusing and probably an
artifact of past logic. Also would be good to initialize
`$candidate_sizes`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/17626#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list