user-access-manager
user-access-manager copied to clipboard
multisite users connected to other sites can't access free pages
Thanks for this extension. I'm using multisite and experience one problem: If a user of site A is connected and then opens site B where he/she is not registered, this user cannot access to free access pages (the pages that people who are not connected at all can access). So he/she would need to disconnect (which also disconnects from site A) It does not seem to me that it is a wanted feature. (?) Any hint ? thanks ps: using 2.2.23 on top of WP 6.4.2-fr_FR
Add this snippet into isUserLoggedIn method in the Wordpress.php
if(is_user_logged_in() && is_multisite() && !is_user_member_of_blog()){ return false; }
I had the exact same same issue