Opened 8 years ago
Closed 8 years ago
#31601 closed defect (bug) (fixed)
Images added to a gallery via the "Add to Gallery" flow are forgotten by the media modal
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.2 | Priority: | normal |
Severity: | normal | Version: | 4.2 |
Component: | Media | Keywords: | has-patch |
Focuses: | javascript | Cc: |
Description
Every image added after you click Add to Gallery is forgotten by the media modal once it is dismissed. The embed in the editor shows the gallery correctly, but when you edit the gallery the modal opens sans added images.
In post-new.php, add a gallery to a post. Then,
- Click the gallery
- Click the pencil icon
- Click Add to Gallery
- Click to select an image
- Click Add to Gallery
- Note that the added image shows correctly in Edit Gallery
- Click Update Gallery
- Note that the added image shows correctly in the editor
- Click the pencil icon
- Note that the added image is not shown
- Click Update gallery
- Note that the image is now gone from the editor
Attachments (1)
Change History (6)
This ticket was mentioned in Slack in #core-editor by boren. View the logs.
8 years ago
Note: See
TracTickets for help on using
tickets.
https://wordpress.slack.com/archives/core-editor/p1426105920001106