Fixed the labels in customer details

This commit is contained in:
claudiosmweb 2014-11-12 22:33:47 -02:00
parent 8c8159ec55
commit 7200b449dc
1 changed files with 6 additions and 9 deletions

View File

@ -300,7 +300,6 @@ class WC_Emails {
/**
* Add customer details to email templates.
*
* @access public
* @param mixed $order
* @param bool $sent_to_admin (default: false)
* @param bool $plain_text (default: false)
@ -312,14 +311,14 @@ class WC_Emails {
if ( $order->billing_email ) {
$show_fields['billing_email'] = array(
'label' => __( 'Email:', 'woocommerce' ),
'label' => __( 'Email', 'woocommerce' ),
'value' => wptexturize( $order->billing_email )
);
}
if ( $order->billing_phone ) {
$show_fields['billing_phone'] = array(
'label' => __( 'Tel:', 'woocommerce' ),
'label' => __( 'Tel', 'woocommerce' ),
'value' => wptexturize( $order->billing_phone )
);
}
@ -360,14 +359,12 @@ class WC_Emails {
/**
* Get the email addresses.
*
* @access public
* @return void
*/
function email_addresses( $order, $sent_to_admin = false, $plain_text = false ) {
wc_get_template( 'emails/email-addresses.php', array( 'order' => $order ) );
}
/**
* Get blog name formatted for emails
* @return string