v3.5.7
修正
-
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-reviewwrapper,原本 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.php5 個 hidden 欄位補class: ['hidden']
- Blocksy 2.x 將
安裝
下載 woomp.zip 後於 WordPress 後台「外掛」→「安裝外掛」上傳,或透過 Plugin Update Checker 自動更新。