Correct do_action arguments fix for #4359

Reverts db9d3ff0b7 partially
This commit is contained in:
Coen Jacobs 2014-01-03 15:55:51 +01:00
parent 9cd911ca8f
commit 58f31163fc
1 changed files with 3 additions and 3 deletions

View File

@ -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, $plain_text ); ?>
<?php do_action( 'woocommerce_email_before_order_table', $order, true, false ); ?>
<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, $plain_text ); ?>
<?php do_action('woocommerce_email_after_order_table', $order, true, false ); ?>
<?php do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text ); ?>
<?php do_action( 'woocommerce_email_order_meta', $order, true, false ); ?>
<h2><?php _e( 'Customer details', 'woocommerce' ); ?></h2>