#23730 closed enhancement (duplicate)
When deleting a user, skip asking what do do with their posts if they don't have any
| Reported by: | benjmay | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Users | Version: | |
| Severity: | minor | Keywords: | has-patch |
| Cc: | Focuses: |
Description
When deleting one or many users, I don't think it makes sense, and is an unnecessary click to ask someone what to do with their posts if they haven't made any.
It's a tiny time saver for administrators.
I put a quick proof of concept together, essentially checking that any of the user(s) about to be deleted have any kind of post, and if they don't, just show a hidden input to run the default delete action on the next step, rather than re-assign.
I also put a check on the jQuery in the header, that if that hidden field exists, it doesn't disable the submit button.
I'm not sure if a text line with words to the effect of "This user has no posts that need to be dealt with" - incase they are expecting those two options.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Could you upload your patch to #6405 please?