이 사용자는 즐겨찾는 주제가 없습니다.
즐겨찾는 포럼 주제
생성한 포럼 주제
상태 |
주제
|
지원자 | 의견 | 게시물 | 최신 활동 |
---|---|---|---|---|---|
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 년, 8 월 전에 | |
Compatibility issue with Slider Revolution and Events Manager
시작: erwinV-10 카테고리: English Support |
|
2 | 15 | 1 년, 11 월 전에 |