Improve wording of bulk delete warnings for media
|Reported by:||dllh||Owned by:||swissspidy|
In #28235, we added a js alert when people attempt to bulk delete images. It's been helpful at reducing instances of uninformed bulk deletion, but I still see a fair few cases of people deleting without the understanding that deleting from the media library will also make images unavailable within posts.
The warning currently lives in two places, one of which is filterable and one of which is not. The non-filterable one is the one that actually gets used on the media page, so while I'm happy to just filter the message on my install, it won't actually work. The message reads as follows:
You are about to permanently delete these items.\n 'Cancel' to stop, 'OK' to delete.
The warning is sufficiently dire about the deletion of the images, but if somebody doesn't understand that image removal will affect post content, it doesn't do them much good. Think about how you can embed an image in a Keynote presentation, delete the image from a folder on your hard drive, and it remains embedded in the Keynote without issue. I think that's the expectation some users have. If we can clarify that, I think we can avoid some data loss. I propose something like this:
You are about to permanently delete these items.\nDeleting the files permanently removes them from posts and pages on your site.\n 'Cancel' to stop, 'OK' to delete.
If that seems reasonable, I'm happy to work up a patch.
Change History (17)
- Keywords needs-patch added; has-patch removed
- Owner set to azaozz
- Resolution set to fixed
- Status changed from new to closed
- Keywords fixed-major added; needs-patch removed
- Resolution fixed deleted
- Status changed from closed to reopened
9 days ago
- Owner changed from azaozz to swissspidy
- Status changed from reopened to reviewing
- Keywords needs-patch added; fixed-major removed
- Milestone changed from 4.7.4 to 4.8