[wp-trac] [WordPress Trac] #35853: Media Library Add new button doesn't show the inline uploader anymore

WordPress Trac noreply at wordpress.org
Thu Feb 18 00:10:24 UTC 2016


#35853: Media Library Add new button doesn't show the inline uploader anymore
-------------------------------------+------------------------------
 Reporter:  imath                    |       Owner:  adamsilverstein
     Type:  defect (bug)             |      Status:  reviewing
 Priority:  normal                   |   Milestone:  4.5
Component:  Media                    |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  javascript
-------------------------------------+------------------------------
Changes (by adamsilverstein):

 * keywords:  needs-patch => has-patch needs-testing


Comment:

 @imath Thanks for the bug report. Can you test the attached patch to
 confirm that it resolves the issue for you?

 In [attachment:35853.diff]:

 * Rework our handling of the `'toggle:upload:attachment'` event using
 `.on` vs `.listenTo` for better compatibility with the current version of
 Backbone.

 Fixes an issue where the upload area wouldn't open when clicking the 'Add
 New' button on the media grid screen (and possibly other places) since
 r36546.

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


More information about the wp-trac mailing list