ผู้ใช้นี้ไม่มีหัวข้อที่ชื่นชอบ.
หัวข้อฟอรัมที่ชื่นชอบ
หัวข้อฟอรัมที่สร้าง
สถานะ |
หัวข้อ
|
ผู้สนับสนุน | เสียง | โพสต์ | ความใหม่ |
---|---|---|---|---|---|
Editors can't translate posts anymore
เริ่มโดย: erwinV-10
ใน: 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 มาแล้ว | |
Compatibility issue with Slider Revolution and Events Manager
เริ่มโดย: erwinV-10 ใน: English Support |
|
2 | 15 | 1 years, 11 months มาแล้ว |