- สถานะ
- แก้ไขแล้วโดยผู้พัฒนา
- ปลั๊กอิน/ธีมที่เกี่ยวข้อง
- Flux Checkout
- แท็กหัวข้อ
- Compatibility
ภาพรวมของปัญหา
เมื่อใช้ปลั๊กอิน Flux Checkout for WooCommerce จาก Iconic ข้อความที่แสดงในหน้าการชำระเงินจะไม่ถูกกรองตามภาษาอย่างถูกต้อง ข้อความทั้งหมดจากทุกภาษาจะปรากฏขึ้นโดยไม่คำนึงถึงภาษาที่เลือกในหน้าการชำระเงิน
วิธีแก้ปัญหาชั่วคราว
โปรดตรวจสอบให้แน่ใจว่าคุณมีข้อมูลสำรองไซต์ทั้งหมดของคุณก่อนดำเนินการต่อ
- เปิดไฟล์ …/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 );