On Multi-Site , only superadmin can use
-
Hi there,
We have a multi-site WordPress instance, and discovered a problem.
Only a superadmin can see the Import Users From CSV page.
A site admin, can see and click the link : Tools->Import Users From CSV
but when you click on it, a site admin sees this message : You are not allowed to see this content.I looked in the code and see that you are using this condition :
if (!current_user_can(‘edit_users’))however, in Multi-Site WordPress, a site admin is not allowed to edit users, but they are allowed to create new users.
Do you think this might be a better conditional ?
if (!current_user_can(‘create_users’))
Thanks,
Jeff
https://www.ads-software.com/plugins/import-users-from-csv-with-meta/
- The topic ‘On Multi-Site , only superadmin can use’ is closed to new replies.