[wp-trac] [WordPress Trac] #17626: image_get_intermediate_size() may return wrong thumbnail size
WordPress Trac
wp-trac at lists.automattic.com
Thu Sep 1 00:09:35 UTC 2011
#17626: image_get_intermediate_size() may return wrong thumbnail size
-------------------------------------+------------------------------
Reporter: chipbennett | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+------------------------------
Comment (by SergeyBiryukov):
Replying to [comment:5 scribu]:
> Better to define it outside of image_get_intermediate_size(), as a
private helper function - that is to say with a leading underscore:
_compare_sizes(), or something even more obscure, to prevent collisions.
Done in [attachment:17626.patch].
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17626#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list