[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
Mon Apr 30 21:24:42 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 nacin):

 You are correct.

 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).

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15989#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list