[wp-trac] [WordPress Trac] #21868: Use JS Attachment models in wp.Uploader

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 10 23:26:03 UTC 2012


#21868: Use JS Attachment models in wp.Uploader
----------------------------+-------------------
 Reporter:  koopersmith     |      Owner:
     Type:  task (blessed)  |     Status:  new
 Priority:  normal          |  Milestone:  3.5
Component:  Media           |    Version:  trunk
 Severity:  normal          |   Keywords:
----------------------------+-------------------
 Currently, wp.Uploader returns a JSON object that was a precursor to the
 new JS attachment models. Given the introduction of the new media JS APIs
 and the internal nature of wp.Uploader in 3.4, we should update the API to
 work with the new media conventions.

 `wp.Uploader` should probably also be aliased to `wp.media.Uploader`.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21868>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list