• Resolved petster

    (@petster)


    I use ‘delete me’ on one site.
    But it doesn’t delete from all network site even checked settings both sites.

    It remains sub domain multisite. How can I fix this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author cmc3215

    (@cmc3215)

    Hello and thanks for your question.

    From FAQs:

    When using Multisite is a user deleted from the Network or only the Site deletion originated from?

    If the user is registered to more than one Site on the Network they’re only deleted from the single Site, their user remains on the Network registered to any of their remaining Sites. However, if the option “Delete From Network” is checked and they belong to only one Site then their user will be deleted from the Network because they no longer belong to any Network Sites.

    This is also mentioned in the ? tooltip of the “Delete From Network” option. The focus of the option is to prevent Multisite admins from being left with Users that do not belong to a Site, which can only happen with Multisite.

    I understand how this can be confusing on Multisite to both user and Site owner in some situations. They might not always want deletion from all Sites on the Network at once and yet some people might be looking for just that.

    I will consider adding this option to allow the behavior you’re expecting.

    Plugin Author cmc3215

    (@cmc3215)

    Reposting this reply, somehow it disappeared…

    Hello and thanks for your question.

    From FAQs:

    When using Multisite is a user deleted from the Network or only the Site deletion originated from?

    If the user is registered to more than one Site on the Network they’re only deleted from the single Site, their user remains on the Network registered to any of their remaining Sites. However, if the option “Delete From Network” is checked and they belong to only one Site then their user will be deleted from the Network because they no longer belong to any Network Sites.

    This is also mentioned in the ? tooltip of the “Delete From Network” option. The focus of the option is to prevent Multisite admins from being left with Users that do not belong to a Site, which can only happen with Multisite.

    I understand how this can be confusing on Multisite to both user and Site owner in some situations. They might not always want deletion from all Sites on the Network at once and yet some people might be looking for just that.

    I will consider adding this option to allow the behavior you’re expecting.

    Thread Starter petster

    (@petster)

    How about redirect to sub site’s delete link?

    I see the ‘delete me’ link looks like this
    /pages/?plugin_delete_me=6&plugin_delete_me_nonce=61af72e3a1

    that nonce=61af72e3a1 like that.

    How about redirect to sub site’s that link?
    How can I get that 61af72e3a1 numbers?

    Plugin Author cmc3215

    (@cmc3215)

    Like I mentioned before I am considering making changes to support the behavior you’re expecting. So, it is likely this will just take care of itself soon.

    That said, I will answer your questions.

    1.) The landing page is a static URL. You cannot, without changing code, alter the URL on the fly.

    2.) wp_create_nonce( 'plugin_delete_me_nonce' )

    I can point you to the file but I’m not getting involved in making those changes.

    The file to make changes to would be delete-user.php under delete-me/inc. The redirect is coded at the bottom of that file.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘multisite user does not deleted.’ is closed to new replies.