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

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 5 09:46:18 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 duck_):

 Replying to [comment:34 koopersmith]:
 > * Prevents media `Query` models from observing the central
 `Attachments.all` object when query args without corresponding filters are
 set (otherwise, queries quickly amass false positives).


 This seems to have stopped images being displayed in the modal once they
 upload:

  1. Upload image
  1. It is not shown under "Select one or more media files:", but you can
 see it was selected automatically

 It looks like passing `allowed` to `difference()` in media-models.js was
 lost, see the attached patch.

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


More information about the wp-trac mailing list