Viewing 1 replies (of 1 total)
  • Plugin Author th23

    (@th23)

    Hi grafixNZ,

    this is the intended behaviour – I documented it in the source code of the uninstall routine as below:

    // NOTICE: We keep this role - otherwise unapproved/unvalidated users have no role assigned and will have access, role will become visible normally in admin area
    // remove_role($this->plugin . '_pending');

    Two reasons for this decision:
    1) The active plugin prevents users with the role “pending” from login, so I didn’t want to “autoapprove” all pending users upon plugin deactivation allowing them to login
    2) The role does not “harm” the WP installation and does not cause any significant additional load.

    However, if you want to remove the role, just add the following line to your themes function.php file, call your site (frontend) once and remove the line afterwards again.

    remove_role('th23_user_management_pending');

    Hope this helps!?

    Kind regards
    Thorsten

Viewing 1 replies (of 1 total)
  • The topic ‘Remove the traces left from install’ is closed to new replies.