[wp-trac] [WordPress Trac] #34465: Uploader in Media Modal Not Working When Certain Library Arguments Present

WordPress Trac noreply at wordpress.org
Mon Dec 7 16:17:10 UTC 2015


#34465: Uploader in Media Modal Not Working When Certain Library Arguments Present
-------------------------------------------+------------------------------
 Reporter:  Funkatronic                    |       Owner:
     Type:  defect (bug)                   |      Status:  new
 Priority:  normal                         |   Milestone:  Awaiting Review
Component:  Media                          |     Version:  4.0
 Severity:  normal                         |  Resolution:
 Keywords:  has-screenshots needs-testing  |     Focuses:  ui
-------------------------------------------+------------------------------

Comment (by Funkatronic):

 It's not validating, though; it's just ignoring the uploader if there is a
 arg it doesn't want to handle.  What should happen is a callback on the
 queue update that makes sure the new file fits with the arguments of that
 modal's library, then add it in.  This code just gives a blanket "no, I
 don't want to handle that" that breaks modals that want to do something
 different.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34465#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list