Merge pull request #10994 from DavidAnderson684/patch-2

Place customer IP inside a span for easier access
This commit is contained in:
Mike Jolley 2016-05-26 16:07:05 +01:00
commit 42374d6ed6
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ class WC_Meta_Box_Order_Data {
}
if ( $ip_address = get_post_meta( $post->ID, '_customer_ip_address', true ) ) {
echo __( 'Customer IP', 'woocommerce' ) . ': ' . esc_html( $ip_address );
echo __( 'Customer IP', 'woocommerce' ) . ': <span class="customer_ip">' . esc_html( $ip_address ) . '</span>';
}
?></p>