Skip to:

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#5066 closed defect (bug) (fixed)

WP Admin Bar > Edit Member needs a check for the delete-account submenu

Reported by: imath's profile imath Owned by: boonebgorges's profile boonebgorges
Milestone: 1.8 Priority: normal
Severity: normal Version: 1.7
Component: Members Keywords: has-patch



I've just noticed that if the component Account Settings is not active and if the super admin goes to a member profile, then the Edit Member menu of the WP Admin Bar contains 3 submenus. The third one (Delete Account) leads to a 404 as the Account Settings is not active. I suggest to add a check for this component before adding the submenu to WP Admin Bar. I've added a patch to this ticket.

Attachments (1)

5066.diff (1.4 KB) - added by imath 11 years ago.

Download all attachments as: .zip

Change History (3)

11 years ago

#1 @boonebgorges
11 years ago

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

In 7233:

Don't show Delete Account in Edit Member toolbar dropdown if Settings is disabled

When Settings is turned off, there's no way to delete users through the front-
end interface, and the link 404s.

Fixes #5066

Props imath

#2 @r-a-y
11 years ago

  • Milestone changed from Awaiting Review to 1.8
  • Version changed from 1.8-beta to 1.7
Note: See TracTickets for help on using tickets.