
https://wordpress.org/plugins/user-role-editor/这个插件我安装了如何恢复,我禁用了这个插件,但仍然无法访问woo commerce管理员访问权限
它只给我显示了订单和优惠券菜单。
如何修复此问题,请帮助
发布于 2021-02-24 12:47:24
我认为您还没有将商店经理的权限授予管理员用户,所以这种情况正在发生
/*解决方案*/您再次激活上述插件并授予所选管理员用户角色,您还可以查看用户-角色-编辑器插件中给出的屏幕截图
发布于 2021-02-25 01:14:01
因此,我修复了office插件文档https://www.role-editor.com/how-to-restore-deleted-wordpress-user-roles/中的问题
3rd variant – User Role Editor creates roles backup record before save the very 1st update to them. You need to use SQL tool like phpMyAdmin. Find that record at ‘wp_options’ meta database table:
SELECT * FROM wp_options WHERE option_name='wp_backup_user_roles';
As the result you will see something like this (I use MySQL Workbench):
User Roles Auto Backup
User Roles Auto Backup
Take data from the option_value field and place them into the record where WordPress stores user roles originally. You may find it with this SQL query:
SELECT * FROM wp_options WHERE option_name='wp_user_roles';
Read this post for more details about changing WordPress user roles directly in the database using SQL commands.https://stackoverflow.com/questions/66344725
复制相似问题