[wp-trac] [WordPress Trac] #52789: Gallery layout block adds all media items when changing an image
WordPress Trac
noreply at wordpress.org
Fri Mar 12 11:13:09 UTC 2021
#52789: Gallery layout block adds all media items when changing an image
--------------------------+-----------------------------
Reporter: MikeLittle | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.7
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
## Steps to reproduce:
1. Have multiple items already added to the media library.
2. Create a new post
3. Drag a the Gallery pattern (two images side by side)
4. Select one image
5. Click media library
6. Select ONE image
7. Click Add to gallery
8. All images are selected
9. Click update gallery
10. All images are added to the gallery
## Expected behaviour
Only one image is added to the gallery
I'm not sure whether the bug is in the block or the media library. There
were no errors or warnings in the JS Console
Running WordPress under 'wplocal' (flywheel/wpengine).
PHP 7.4.1
Browser: Chrome 88.0.4324.192
Video demo of the issue: https://vimeo.com/522746498/0ca3c5a137
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52789>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list