[Resolved] deleting an attachment at media library causes fatal error
I’m sure this wasn’t previewed or is even a frequent situation, but the truth is if one tries to delete an existing post attachment at media library falls into a fatal error and maybe get some mess at database.
In my opinion the best way to prevent this would be to activate the remove attachment function on deletion from media library giving the option to bulk delete post attachments from there.
I don’t have any ideia of how complex can be the code to allow this, an alternative could be simply to display a warning saying that deletion is only possible at the post by hitting remove at each attachment and escape from the error situation.
- The topic ‘[Resolved] deleting an attachment at media library causes fatal error’ is closed to new replies.