[wp-trac] [WordPress Trac] #22512: WP_Image_Editor - image_resize_dimensions called twice, cropping position
WordPress Trac
noreply at wordpress.org
Tue Nov 20 02:53:27 UTC 2012
#22512: WP_Image_Editor - image_resize_dimensions called twice, cropping position
--------------------------+------------------------------
Reporter: alexvorn2 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by scribu):
> after that if we will want a new position like center or bottom, or
right/left we should delete the old cropped image before cropping the new
one.
How is that different from before?
> the old functions were deprecated in the favor of this class, why?
Because it's confusing to have two ways of doing things. Deprecated
functions still work just like before; you just get a message if you have
errors turned on.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22512#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list