[wp-trac] [WordPress Trac] #27983: Media Library screen not updated when Image is deleted from Post
WordPress Trac
noreply at wordpress.org
Tue Apr 22 23:51:20 UTC 2014
#27983: Media Library screen not updated when Image is deleted from Post
--------------------------+-----------------------------
Reporter: tedinoz | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 3.8.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
If an image is inserted in a post, the Media Library displays the post
name with a hyperlink to the post-edit page. However, if the image is
later deleted from the post, the "updated to" field continues to display
the details of the post.
This not a "new" issue. I have reproduced it in both WP3.9 and WP3.8.1
I think it has been around for a while.
How to reproduce the bug:
1 = Open Media Library, upload a new image ("Image A"). Note that the
Media Library shows that the image is not "Uploaded to" to any post.
2 = Open an existing post (it doesn't matter whether or not the post has
attached images), click the "Add Media" button and insert "Image A". Save
the post, view the post and note that image appears in the post.
3= Open the Media Library and note that "Image A" is shown as "Updated to"
your post.
4 = Re-open your post, click on the image, and click the "Delete Image"
icon. The image is deleted from the edit post screen. Save the post, view
the post and note that image does not appear in the post.
5 = Logout of WordPress, clear your cache, and login again (this step is
intended to demonstrate that this is not a session-based issue).
6 = Open the Media Library and locate "Image A". The "Uploaded to" column
shows the name of your post despite that you deleted the image from the
post.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27983>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list