[wp-trac] [WordPress Trac] #49178: Upload image issue after deleting image from edit image page

WordPress Trac noreply at wordpress.org
Thu Sep 3 19:37:47 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:  needs-patch   |     Focuses:
--------------------------+-----------------------------

Comment (by Mista-Flo):

 I'm looking at this issue.

 First, before looking at the ticket issue, I have to say that the
 upload.php is a tough one. It handles the both list view and grid view in
 a very different way. The grid mode triggers a different markup at all, it
 loads a JS underscore template. One of the drawbacks with the current
 implementation IMO is that we don't display messages in grid view. In list
 view, if you do the same actions, you would have a notice just above the
 filters saying that the file has been permanently deleted. I don't see any
 reason why that's not the case either for grid view. The bad thing is that
 there is no easy way to just use the same code (about messages) for both
 context.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49178#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list