fix notes array

This commit is contained in:
Abdalsalaam Halawa 2023-04-20 01:10:16 +02:00
parent 1109f7147a
commit 70c782fa63
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ final class ReserveStock {
// Add order note after successfully holding the stock. // Add order note after successfully holding the stock.
if ( ! empty( $held_stock_notes ) ) { if ( ! empty( $held_stock_notes ) ) {
// translators: %s is a time in minutes // 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 ) );
} }
} }