• Resolved Venutius

    (@venutius)


    When you deny a new user access in BP Registration Options, the user does not get deleted from WordPress, and goes into the “Pending” list. Would it be possible to delete this user from WordPress at the same time? It would make for a more efficient workflow.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Michael Beckwith

    (@tw2113)

    The BenchPresser

    User deletion upon denial should already be in place. Biggest question, at least for your case, is what’s preventing it from getting to that point.

    https://github.com/WebDevStudios/BuddyPress-Registration-Options/blob/master/includes/admin.php#L180-L184

    Thread Starter Venutius

    (@venutius)

    Aha, so it’s something up with my setup, I’ll look into it.

    Thread Starter Venutius

    (@venutius)

    I set up a new install and only loaded Buddypress and BP Registration options, a new users registered and I denied him in BP Registration Options, I went to Users>>Pending and the user was there.

    Thread Starter Venutius

    (@venutius)

    Now this is strange, one my original site where I noticed the issue I’ve just denied accesss and the user has deleted from WordPress, I’ll test this further

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Out of curiosity, have you been translating the plugin via the pot file? I’m curious if that part is not matching like it needs to, and thus the if statements around the deletion aren’t firing like expected.

    Thread Starter Venutius

    (@venutius)

    No I’m not translating it.

    I’ve just tested it again on my minimal test install with just the two plugins running and I can confirm that it’s not deleting the WordPress user account, only moving it into pending.

    I then tried the same on my fully loaded test system, the one it worked on before and again the test user had not been deleted from the WordPress pending list.

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Something with the logic isn’t reaching the delete portion then, because the deletion is in place in the plugin itself. The question is where and why.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Feature Request – delete Users from WordPress’ is closed to new replies.