fix notes array
This commit is contained in:
parent
1109f7147a
commit
70c782fa63
|
@ -131,7 +131,7 @@ final class ReserveStock {
|
|||
// Add order note after successfully holding the stock.
|
||||
if ( ! empty( $held_stock_notes ) ) {
|
||||
// translators: %s is a time in minutes
|
||||
$order->add_order_note( sprintf( __( 'Stock is held for %s minutes for payment:', 'woocommerce' ), $minutes ) . ' ' . implode( ', ', $order_notes ) );
|
||||
$order->add_order_note( sprintf( __( 'Stock is held for %s minutes for payment:', 'woocommerce' ), $minutes ) . ' ' . implode( ', ', $held_stock_notes ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue