탐색 건너뛰기

Waiting for author

Topic Tags: Compatibility

Overview of the issue

When using the Flux Checkout for WooCommerce plugin from Iconic, messages displayed on the checkout page are not properly filtered by language. All messages from all languages appear regardless of the selected language in the checkout.

Workaround

Please, make sure of having a full site backup of your site before proceeding.

  • Open the …/wp-content/plugins/flux-checkout/inc/class-checkout-elements.php file.
  • Look for line 418.
  • Replace:
    		$args = array(
    			'post_type'      => self::$post_type_key,
    			'posts_per_page' => 100,
    			'post_status'    => 'publish',
    		);
    
    		$checkout_elements_posts = get_posts( $args );
    
  • With:
    // 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 );
    

답장을 남겨주세요

주제를 유지하고 다른 사람을 존중하십시오. 이 게시물과 관련 없는 문제에 대한 도움이 필요한 경우 지원 포럼을 사용하여 채팅을 시작하거나 티켓을 제출하십시오.

다음 태그를 사용할 수 있습니다.
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>