[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:46:57 UTC 2012
#22598: Not using image_downsize() in wp_prepare_attachment_for_js() can break
esoteric usage
------------------------------+---------------------
Reporter: nacin | Owner: ryan
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.5
Component: Media | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch commit |
------------------------------+---------------------
Changes (by ryan):
* owner: => ryan
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"22850"]:
{{{
#!CommitTicketReference repository="" revision="22850"
Make wp_prepare_attachment_for_js() compatible with plugins that disable
all intermediate image sizes (so no images are created on upload), and
then create them on the fly using the image_downsize filter (say, with a
URL that can dynamically create images on the fly).
Props nacin
fixes #22598
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22598#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list