multisite user does not deleted.
-
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?
-
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.
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.
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=61af72e3a1that
nonce=61af72e3a1like that.How about redirect to sub site’s that link?
How can I get that61af72e3a1numbers?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.phpunderdelete-me/inc. The redirect is coded at the bottom of that file.
The topic ‘multisite user does not deleted.’ is closed to new replies.