Stripped faulty default values of do_action parameters. Closes #4359
This commit is contained in:
parent
05dda2c16a
commit
db9d3ff0b7
|
@ -12,7 +12,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
|
|||
|
||||
<p><?php printf( __( 'You have received an order from %s. Their order is as follows:', 'woocommerce' ), $order->billing_first_name . ' ' . $order->billing_last_name ); ?></p>
|
||||
|
||||
<?php do_action( 'woocommerce_email_before_order_table', $order, $sent_to_admin = true, $plain_text = false ); ?>
|
||||
<?php do_action( 'woocommerce_email_before_order_table', $order, $sent_to_admin, $plain_text ); ?>
|
||||
|
||||
<h2><a href="<?php echo admin_url( 'post.php?post=' . $order->id . '&action=edit' ); ?>"><?php printf( __( 'Order: %s', 'woocommerce'), $order->get_order_number() ); ?></a> (<?php printf( '<time datetime="%s">%s</time>', date_i18n( 'c', strtotime( $order->order_date ) ), date_i18n( wc_date_format(), strtotime( $order->order_date ) ) ); ?>)</h2>
|
||||
|
||||
|
@ -43,9 +43,9 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
|
|||
</tfoot>
|
||||
</table>
|
||||
|
||||
<?php do_action('woocommerce_email_after_order_table', $order, $sent_to_admin = true, $plain_text = false ); ?>
|
||||
<?php do_action('woocommerce_email_after_order_table', $order, $sent_to_admin, $plain_text ); ?>
|
||||
|
||||
<?php do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin = true, $plain_text = false ); ?>
|
||||
<?php do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text ); ?>
|
||||
|
||||
<h2><?php _e( 'Customer details', 'woocommerce' ); ?></h2>
|
||||
|
||||
|
|
Loading…
Reference in New Issue