[wp-trac] [WordPress Trac] #54411: Media Library modal - multiple Select Files buttons when switching between Media Library and Upload Files tabs
WordPress Trac
noreply at wordpress.org
Wed Nov 10 04:39:29 UTC 2021
#54411: Media Library modal - multiple Select Files buttons when switching between
Media Library and Upload Files tabs
--------------------------+-------------------------
Reporter: talldanwp | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.9
Component: Media | Version: trunk
Severity: normal | Keywords: needs-patch
Focuses: |
--------------------------+-------------------------
When switching between the Media Library and Upload Files tabs in the
media modal, the Select Files button ends up being duplicated many times.
Steps to reproduce
1. Create a post in the classic editor or block editor
2. Add media, in the block editor add an image block and select 'Upload'
3. Switch between the Media Library and Upload Files tabs in the modal
several times
4. Observe that each time you switch tabs there are more 'Select Files'
buttons appended.
Expected: Only one Select File button.
I tested and confirmed this seems to have been introduced in 5.9, it
wasn't an issue in 5.8.1.
The bug happens in both classic and block editors, with or without
Gutenberg active, so definitely seems like a core issue.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54411>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list