Make WordPress Core

#23224 closed enhancement (fixed)

Delete Users: selecting a username should select the “Attribute all posts to” radio button

Reported by: MichaelZed Owned by: SergeyBiryukov
Milestone: 3.6 Priority: normal
Severity: minor Version: 3.5
Component: Users Keywords: has-patch commit
Focuses: Cc:


In the Delete Users page, the user is forced choose between “(•) Delete all posts” and “(•) Attribute all posts to: ([User list]).” The second, safer choice requires two actions: select radio button, select user. Then the form still requires a third action, selecting the “Confirm Deletion” button.

Just selecting a user name implies the intent to attribute posts to the user. On selecting the user name, the radio button should be automatically selected too.

Attachments (1)

23224.patch (414 bytes) - added by SergeyBiryukov 15 months ago.

Download all attachments as: .zip

Change History (9)

comment:1 MichaelZed15 months ago

See also ticket #6405 When deleting users without any links/posts, don't ask to whom they should be reattributed

comment:3 SergeyBiryukov15 months ago

#20045 suggested the same. The consensus was to force the user to explicitly choose between content deletion and reassignment.

comment:4 SergeyBiryukov15 months ago

  • Keywords close added

comment:5 follow-up: MichaelZed15 months ago

Sergey, you’re mistaken. #20045 does not suggest this at all.

In case it’s unclear: I’m suggesting that neither radio button is selected by default and the “Confirm Deletion” button is inactive, as is currently the case. If the user explicitly selects a user to whom to attribute all posts, only then the “Attribute all posts to” radio box becomes selected. Nothing happens until the user explicitly chooses between content deletion and reassignment.

SergeyBiryukov15 months ago

comment:6 in reply to: ↑ 5 SergeyBiryukov15 months ago

  • Keywords has-patch added; close removed
  • Milestone changed from Awaiting Review to 3.6

Replying to MichaelZed:

#20045 does not suggest this at all.

Indeed, thanks for the clarification.

comment:7 SergeyBiryukov15 months ago

  • Keywords commit added

comment:8 SergeyBiryukov15 months ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 23366:

Select "Attribute all posts to..." radio button automatically when selecting a username from the dropdown. fixes #23224.

Note: See TracTickets for help on using tickets.