- 상태
- 개발자가 해결함
- 관련 플러그인/테마
- Flux Checkout
- 주제 태그
- Compatibility
문제 개요
Iconic의 Flux Checkout for WooCommerce 플러그인을 사용할 때 결제 페이지에 표시되는 메시지가 언어별로 제대로 필터링되지 않습니다. 결제 시 선택한 언어와 관계없이 모든 언어의 모든 메시지가 표시됩니다.
임시 해결 방법
진행하기 전에 전체 사이트 백업을 완료했는지 확인하세요.
- …/wp-content/plugins/flux-checkout/inc/class-checkout-elements.php 파일을 여세요.
- 418번째 줄을 찾으세요.
- 다음을:
$args = array( 'post_type' => self::$post_type_key, 'posts_per_page' => 100, 'post_status' => 'publish', ); $checkout_elements_posts = get_posts( $args );
- 다음으로 교체하세요:
// WPML Workaround for compsupp-7760 $args = array( 'post_type' => self::$post_type_key, 'posts_per_page' => 100, 'post_status' => 'publish', 'suppress_filters' => false, ); $checkout_elements_posts = get_posts( $args );