WPML
ステータス
解決済み
報告対象
WPML Multilingual & Multicurrency for WooCommerce 4.11.2
解決されたバージョン
4.11.3

問題の概要

WooCommerce設定メールで、WooCommerceのメールを複数の宛先に送信するように設定している場合、WPML Multilingual & Multicurrency for WooCommerceは最初のメールアドレスにのみ送信します。

回避策


  • サイトの完全なバックアップを作成します。

  • wp-content/plugins/woocommerce-multilingual/inc/class-wcml-emails.phpに移動します。

  • 468行目の:
    $admin_language = $this->get_admin_language_by_email( $recipient, $order_id );

    を次のように置き換えます:

    add_filter( 'woocommerce_new_order_email_allows_resend', '__return_true' );
    $admin_language = $this->get_admin_language_by_email( $recipient, $order_id );

すべての既知の問題 →