- 상태
- 해결됨
- 해결된 버전
- WooCommerce Multilingual & Multicurrency 5.5.0
- 관련 플러그인/테마
- WooCommerce
- 주제 태그
- Compatibility, WCML
문제 개요
경우에 따라 WooCommerce 상품 검토 옆에 표시되는 국기가 검토가 원래 제출된 언어 대신 현재 사이트 언어를 잘못 반영할 수 있습니다.
임시 해결 방법
진행하기 전에 사이트의 전체 사이트 백업을 완료했는지 확인하세요.
- 테마의 functions.php 파일에 다음 코드를 추가하세요:
add_filter ('the_comments', 'remove_hooks10903'); function remove_hooks10903($var) { global $wp_filter; foreach ( $wp_filter["the_comments"]->callbacks[10] as $key => $value ) { if ( str_contains( $key, 'translate_product_ids' ) ) { remove_filter( 'the_comments', $key ); } } return $var; }