• Hello,

    I facing an issue that when I delete the user from admin area or database, it created again user automatically. I give my site access to a developer to add few functionality. He now blackmailing me as he puts some script inside somewhere probably theme function area. Which resulting this. I mean if you delete the user from admin area or database section, it will get deleted. But after a few seconds, you’ll see them again. And it’s creates administrator roles user…

    Any help will be highly appreciable. Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi Leevioo,

    Okay, so first advice is never use that developer again! Duh, right?

    1. Is this multisite, or a single installation?
    2. Are you sure you are an Administrator on the site?

    My guess is that the developer either added a function to your theme, but more likely to a plugin that won’t permit this deletion, or is recreating a user.

    I’d temporarily switch your theme to a default and try deleting the user again and see what happens. If it’s still recreated while using another theme, you know it’s not in the theme.

    If the developer has ANY access to your hosting account (cPanel, FTP, SSH), change your passwords at least.

    I’d look for any suspicious or custom plugins, or plugins in the MU (must use) folder and disable them. In fact, I’d probably disable all existing plugins and see if the issue still happens. If so, it’s likely a mod to your WP installation, or a plugin that’s in the wp-content/mu-plugins folder.

    If you don’t find anything there and it’s still happening with a new default theme and with plugins disabled, I’d replace all of the core WordPress files (files in wp-admin and wp-includes, along with some in your root directory).

    If you’re feeling adventurous code-wise, you might try downloading a copy of your site and searching across all files for a function like: wp_create_user, which the developer could be using, I suppose.

    Some other thoughts

    • Have you tried just changing his user permission level to subscriber?
    • I’d look for a security plugin like iThemes Security or Wordfence, which may allow you to limit access to your site to specific IP addresses or even turn on two-factor authentication, in addition to offering a bunch of other security tightening options. Note: some features may be in their Pro plugins, but you’ll want to check it out.

    Hope that helps!

    Thread Starter leevioo

    (@leevioo)

    They are all single site… I used him to developed around 21 Sites. He did that everywhere. But problem is most of them are school’s website.. I mean out 21, 20 websites are for school. I let you know the result after making my trial..

    I appreciate your time and energy for putting such valuable info. Thanks a lot man..:)

    My pleasure and good luck!

    Thread Starter leevioo

    (@leevioo)

    So here is what I found in the theme function.php file… I guess it should not be here… https://prntscr.com/9onulo

    Should I delete those line?

    Yes that it. Oldest trick in the book, just delete those and you should be all set. If It continues after then that same code is somewhere else.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘User are created automatically.’ is closed to new replies.