[wp-trac] [WordPress Trac] #49178: Upload image issue after deleting image from edit image page
WordPress Trac
noreply at wordpress.org
Thu Sep 3 20:25:09 UTC 2020
#49178: Upload image issue after deleting image from edit image page
--------------------------+-----------------------------
Reporter: rnitinb | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Media | Version: 5.3.2
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+-----------------------------
Changes (by Mista-Flo):
* keywords: needs-patch => has-patch
Comment:
Hi, I have submitted a patch that fixes the issue. I am not sure about the
implementation though so let's give your feedback.
Here's the explanation of the patch :
The curent behaviour is: When a GET deleted param is present, in list
mode, it directly removes it from the URL query args, and drop a message.
With my patch, it now displays messages even in grid mode, and also unset
from the $_GET superglobal the deleted and other params like this that was
avoiding new uploaded images to get displayed in the grid.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49178#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list