Skip to content

v3.5.7

Choose a tag to compare

@j7-dev j7-dev released this 20 May 05:26
· 49 commits to master since this release

修正

  • fix(line-pay): HPOS 新訂單頁 auto-draft 對 null date_created 呼叫 date() fatal

    • linepay_refund_button_replace 掛在 woocommerce_order_item_add_action_buttons,HPOS 新訂單頁 admin.php?page=wc-orders&action=new 建 auto-draft 也會 fire
    • auto-draft 訂單 get_date_created() 回 null,line 345 直接 fatal:Call to a member function date() on null
    • 加 null guard:get_date_created() 為 null 直接 return,跳過退款 expired 計算
  • fix(checkout): support Blocksy 2.x wrapper & hide empty PayUni rows

    • Blocksy 2.x 將 #customer_details#order_review 各自再包一層 .ct-customer-details / .ct-order-review wrapper,原本 inline <style> 選擇器只認舊 ID,導致 flex-wrap 跑版
    • PayUni V3 OrderUtils::extend_checkout_field 注入 5 個 hidden 欄位漏設 class: ['hidden'],被 WC 包進 <p class="form-row"> 撐出 ~135px 空白
    • form-checkout.php 選擇器補上 Blocksy 2.x wrapper class、OrderUtils.php 5 個 hidden 欄位補 class: ['hidden']

安裝

下載 woomp.zip 後於 WordPress 後台「外掛」→「安裝外掛」上傳,或透過 Plugin Update Checker 自動更新。