This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
Status |
Topic
|
Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Editors can't translate posts anymore
Started by: erwinV-10
in: English Support
Problem: Solution: *sitepress-multilingual-cms/vendor/wpml/wp/classes* folder. *User.php* file. public static function isEditor(\WP_User $user = null) { $capability = "editor"; $capability = apply_filters('wpml_editor_capability', $capability ); return self::hasCap( $capability, $user ); } 4) Edit the functions.php file of your theme and add the following code at the bottom: add_filter('wpml_editor_capability', 'my_editor'); function my_editor(){ $user = wp_get_current_user(); if (in_array('shop_manager', (array)$user->roles, true)){ return 'shop_manager'; } } 5) Clear all types of caches. Subsequently, we released a new version of WPML (4.6.9 series) that included a fix for this issue. We advised the client to update to the latest version after ensuring a full site backup and check if the problem persists. If this solution doesn't look relevant to your situation, please open a new support ticket with us. |
|
2 | 12 | 1 year, 8 months ago | |
Compatibility issue with Slider Revolution and Events Manager
Started by: erwinV-10 in: English Support |
|
2 | 15 | 1 year, 11 months ago |