[wp-trac] [WordPress Trac] #21868: Use JS Attachment models in wp.Uploader
WordPress Trac
wp-trac at lists.automattic.com
Tue Sep 11 16:56:00 UTC 2012
#21868: Use JS Attachment models in wp.Uploader
----------------------------+--------------------------
Reporter: koopersmith | Owner: koopersmith
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 3.5
Component: Media | Version: trunk
Severity: normal | Resolution: fixed
Keywords: |
----------------------------+--------------------------
Changes (by koopersmith):
* owner: => koopersmith
* status: new => closed
* resolution: => fixed
Comment:
In [21814]:
{{{
#!CommitTicketReference repository="" revision="21814"
Use JS Attachment models in wp.Uploader. fixes #21868.
Moves the uploading Attachments queue from the media workspace view to the
uploader itself. This ensures that all attachments are added to the
central attachmnet store.
Updates wp.Uploader to pass Attachment models to callbacks instead of
Plupload file objects. Attachments in the process of uploading have a
reference to the file object (which can be fetched by calling
`attachment.get('file');`).
Also updates the customizer to be compatible with the API changes.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21868#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list