[wp-trac] [WordPress Trac] #21390: Upload/Insert media revamp

WordPress Trac noreply at wordpress.org
Mon Nov 19 02:43:11 UTC 2012


#21390: Upload/Insert media revamp
----------------------------+--------------------------
 Reporter:  nacin           |       Owner:  koopersmith
     Type:  task (blessed)  |      Status:  accepted
 Priority:  high            |   Milestone:  3.5
Component:  Media           |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+--------------------------

Comment (by koopersmith):

 In [changeset:"22655"]:
 {{{
 #!CommitTicketReference repository="" revision="22655"
 Media: Optimize media models.

 * Merge `Composite` model with general `Attachments` model, as
 `Attachments.validate` and `Composite.evaluate` were functionally
 equivalent.
 * Queries should only watch `wp.Uploader.queue`, as watching
 `Attachments.all` results in queries attempting to add attachments before
 their properties are set (which then results a few too many irrelevant
 adds/removes). `Attachments.all` should potentially be removed or
 rethought.

 see #21390.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21390#comment:119>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list