 cindyL-2
|
We have a capabilities manager that allows us to set specific Roles in WordPress to access and translate, this has been the case for over 5 years.
|
 Mohamed Sayed
|
Hi there,
Thanks for contacting WPML support.
Please try the workaround mentioned in the following ticket after creating a full backup: https://wpml.org/forums/topic/issue-with-wpml-admin-capabilities/#post-15220070
Then make sure that the WPML capabilities are granted for the custom user role.
Let me know please if that helps.
Kind regards,
Mohamed
|
 cindyL-2
|
Hi Mohamed.
That workaround URL directs to a private ticket that I'm unable to view.
Can you help with that?
|
 Mohamed Sayed
|
Hi,
Please try the following steps after creating a full backup:
1. Edit the file /wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/wp/classes/User.php
2. Replace the following code (line 222):
return self::hasCap( self::CAP_ADMINISTRATOR, $user );
With:
return self::hasCap('manage_options', $user);
3. Make sure that the "Manage Options" and WPML capabilities are granted.
|