[wp-trac] [WordPress Trac] #22598: Not using image_downsize() in wp_prepare_attachment_for_js() can break esoteric usage
WordPress Trac
noreply at wordpress.org
Mon Nov 26 22:13:30 UTC 2012
#22598: Not using image_downsize() in wp_prepare_attachment_for_js() can break
esoteric usage
--------------------------+--------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.5
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+--------------------
Changes (by nacin):
* keywords: => has-patch
Comment:
Second patch avoids image_downsize(). Best I can tell, we don't need any
of the logic in image_downsize(), which consults the same metadata we do
here and does a bunch of other things. We just need to know if a plugin
wants to handle the downsizing, and if not, we can consult metadata.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22598#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list