[wp-trac] [WordPress Trac] #15989: image_resize_dimensions() mistakenly defaults crop center as image's center of gravity.
WordPress Trac
wp-trac at lists.automattic.com
Tue May 1 08:47:12 UTC 2012
#15989: image_resize_dimensions() mistakenly defaults crop center as image's center
of gravity.
------------------------------+-----------------------
Reporter: jacof | Owner: nacin
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 3.4
Component: Post Thumbnails | Version: 3.1
Severity: major | Resolution:
Keywords: has-patch commit |
------------------------------+-----------------------
Comment (by ebababi):
Replying to [comment:18 nacin]:
> The only thing I would change is the default value for the filter should
be null. That would allow false to be returned (which is a valid return
value for image_resize_dimensions).
The [attachment:media.php.patch] modified as requested.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15989#comment:19>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list