From 5c1b931438127d87db5e6e9475b526771b6a406a Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Thu, 9 Oct 2014 16:43:21 +0100 Subject: [PATCH] [2.2] Fix refund date. Fixes #6499 --- includes/admin/meta-boxes/views/html-order-refund.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/includes/admin/meta-boxes/views/html-order-refund.php b/includes/admin/meta-boxes/views/html-order-refund.php index 3e126333a75..49fc6fd402a 100644 --- a/includes/admin/meta-boxes/views/html-order-refund.php +++ b/includes/admin/meta-boxes/views/html-order-refund.php @@ -13,8 +13,9 @@ $who_refunded = new WP_User( $refund->post->post_author ); post_date ) ) ); - if ( $who_refunded->exists() ){ + echo esc_attr__( 'Refund', 'woocommerce' ) . ' - ' . esc_attr( date_i18n( get_option( 'date_format' ) . ', ' . get_option( 'time_format' ), strtotime( $refund->post->post_date ) ) ); + + if ( $who_refunded->exists() ) { echo ' ' . esc_attr_x( 'by', 'Ex: Refund - $date >by< $username', 'woocommerce' ) . ' ' . '' . esc_attr( $who_refunded->display_name ) . '' ; } ?>