Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #43736, comment 3


Ignore:
Timestamp:
04/01/2021 03:24:25 PM (3 years ago)
Author:
sabernhardt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43736, comment 3

    initial v1  
    11I tried this in WordPress 5.7 (with Windows and Firefox), and it seems to work now. Clicking the Close button within the (grid mode) dialog ended the audio playback, and so did the escape key.
    22
    3 If `$('.wp-media-wrapper').remove();` is still necessary for another situation, [https://core.trac.wordpress.org/browser/tags/4.9.5/src/wp-includes/js/media-views.js#L4399 line 4399]  is the `wp.media.view.UploaderWindow`, which is in [https://core.trac.wordpress.org/browser/trunk/src/js/media/views/uploader/window.js \src\js\media\views\uploader\window.js] now.
     3If `$('.wp-media-wrapper').remove();` is still necessary for another situation, [https://core.trac.wordpress.org/browser/tags/4.9.5/src/wp-includes/js/media-views.js#L4399 line 4399] was the `wp.media.view.UploaderWindow`, which is in [https://core.trac.wordpress.org/browser/trunk/src/js/media/views/uploader/window.js \src\js\media\views\uploader\window.js] now.
     4
     5[[Image(https://live.staticflickr.com/65535/51087980011_20cf385402_c.jpg)]]