Người dùng này không có chủ đề yêu thích nào.
Chủ đề diễn đàn yêu thích
Chủ đề diễn đàn đã tạo
Trạng thái |
Chủ đề
|
Người hỗ trợ | Ý kiến | Bài viết | Mới nhất |
---|---|---|---|---|---|
Editors can't translate posts anymore
Được bắt đầu bởi: erwinV-10
trong: 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 years, 8 months trước | |
Compatibility issue with Slider Revolution and Events Manager
Được bắt đầu bởi: erwinV-10 trong: English Support |
|
2 | 15 | 1 years, 11 months trước |