Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#23224 closed enhancement (fixed)

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

Reported by: michaelzed's profile MichaelZed Owned by: sergeybiryukov's profile 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 11 years ago.

Download all attachments as: .zip

Change History (9)

#1 @MichaelZed
11 years ago

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

#3 @SergeyBiryukov
11 years ago

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

#4 @SergeyBiryukov
11 years ago

  • Keywords close added

#5 follow-up: @MichaelZed
11 years 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.

#6 in reply to: ↑ 5 @SergeyBiryukov
11 years 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.

#7 @SergeyBiryukov
11 years ago

  • Keywords commit added

#8 @SergeyBiryukov
11 years 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.