• Plans & Pricing
  • Log in
  • Get started
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress 
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Get started
  • Sign up
  • Log in
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress  
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Jetpack App
  • Learn more
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / Issues Removing an admin user

Issues Removing an admin user

  • Unknown's avatar
    blacknight · Member · Jul 23, 2023 at 9:01 pm
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    I’m doing work on a friend’s site and they want to remove the user associated with their previous developer.
    I’m able to delete the user without getting any errors, but when I go back to the user list their user is back again with full admin rights.
    Before deleting the user I’d downgraded them to ‘author’ and it didn’t make any difference – the user reappeared as a full admin
    What am I missing:?

    WP.com: Yes
    Jetpack: Yes
    Correct account: Yes

    The blog I need help with is: (visible only to moderators and staff)

  • Unknown's avatar
    aisajib · Member · Jul 26, 2023 at 7:58 am
    • Copy link Copy link

    Hi there!

    Just to confirm, are you taking the same steps as outlined in this support article about removing a user from a WordPress.com site? Or did you remove them from the wp-admin dashboard only?

    Please try these steps and let us know if you’re still unable to remove the user shubhim21 from the site.

    Thanks!

  • Unknown's avatar
    blacknight · Member · Aug 9, 2023 at 6:09 pm
    • Copy link Copy link

    Apologies for the delayed response.

    The user I am trying to delete is “webadmin”

    Yes I’ve tried following the steps there. I also tried to downgrade their user role from “admin” to “contributor”, but each time I do this I get a confirmation pop up saying the user has been deleted, yet they’re still there.

  • Unknown's avatar
    staff-totoro · Staff · Aug 10, 2023 at 12:30 am
    • Copy link Copy link

    That user does not appear to be managed by the WordPress.com login system. If you look in the classic view you can see it is the only user without a jetpack symbol (green lightning bolt) on the right: https://digitalmedusa.org/wp-admin/users.php

    If you remove them in the classic view linked above does that allow you to proceed? Hover over their profile icon and you should see the option appear. Thanks for the additional info!

  • Unknown's avatar
    blacknight · Member · Aug 10, 2023 at 12:39 am
    • Copy link Copy link

    Tried that now – it doesn’t give any error, says the user has been deleted, but of course they haven’t been.

  • Unknown's avatar
    aleone89 · Staff · Aug 10, 2023 at 8:25 am
    • Copy link Copy link

    Hey there,

    Thanks for reaching back out – I can replicate what you’re seeing here, and it’s most unusual.

    I’ve some run some tests on a test site and I can’t replicate this behaviour, which make me wonder if this is happening due to a plugin conflict – which is probable.

    To find out, I would recommend deactivating plugins, one by one and then seeing if the user deletes after deactivation.

    It would help to rule out the problem plugin if there is one, by process of elimination.

    I hope this helps as a next troubleshooting steps.

  • Unknown's avatar
    blacknight · Member · Aug 10, 2023 at 6:28 pm
    • Copy link Copy link

    I’ve been trying this – disabling plugins one by one and then trying to delete the user.

    What I have noticed is that the userid keeps incrementing, which is not normal behaviour. It looks like the user is being recreated with a higher ID

    So they went from 210474211 to 210474212 and the ID changes after each attempt to remove them

  • Unknown's avatar
    blacknight · Member · Aug 11, 2023 at 9:08 am
    • Copy link Copy link

    Doing a bit of digging in the MySQL DB was quite revealing:

    The creation date is when I last tried to delete the user which confirms my suspicion that something is actively recreating the user each time I try to remove it.

  • Unknown's avatar
    aleone89 · Staff · Aug 11, 2023 at 9:40 am
    • Copy link Copy link

    Hey there,

    It looks like there’s a mystery solved here…

    We’ve taken a closer look at the theme, and the code in the Child theme’s functions.php between lines 50-56 is causing this.

    You would need to speak to the theme developers, or whoever put that code in to either modify that behaviour, or remove that for you.

    I hope this helps!

  • Unknown's avatar
    blacknight · Member · Aug 11, 2023 at 9:42 am
    • Copy link Copy link

    Ah-ha thanks.

    I’ll have a look at that code and see if I can comment it out or something, as it’s more than a little nutty that this is happening!

    thanks

    Michele

  • The topic ‘Issues Removing an admin user’ is closed to new replies.

Tags

  • account
  • has-jetpack
  • Jetpack
  • wpcomhelp

About this topic

  • In: Support
  • 4 participants
  • 9 replies
  • Last activity 2 years
  • Latest reply from blacknight

Couldn't find what you needed?

Contact us

Contact us

Get answers from our AI assistant, with access to 24/7 expert human support on paid plans.

Browse our guides

Browse our guides

Find step-by-step solutions to common questions in our comprehensive guides.

WordPress.com

Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Professional Email
  • Website Design Services
  • WordPress Studio
  • Enterprise WordPress
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • WordPress.com Blog
  • Business Name Generator
  • Logo Maker
  • WordPress.com Reader
  • Accessibility
  • Remove Subscriptions
Help
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
  • Developer Resources
Company
  • About
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users
DeutschEspañolFrançaisBahasa IndonesiaItalianoNederlandsPortuguês do BrasilSvenskaTürkçeРусскийالعربيةעִבְרִית日本語한국어简体中文繁體中文English

Mobile Apps

  • Download on the App Store
  • Get it on Google Play

Social Media

  • WordPress.com on Facebook
  • WordPress.com on X (Twitter)
  • WordPress.com on Instagram
  • WordPress.com on YouTube

Automattic

Automattic
Work With Us
    • WordPress.com Forums
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions