Fixed hardcoded string

This commit is contained in:
Claudio Sanches 2015-08-07 10:27:40 -03:00
parent e901114c23
commit 38aa17b67b
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ class WC_Meta_Box_Order_Data {
#post-body-content, #titlediv { display:none } #post-body-content, #titlediv { display:none }
</style> </style>
<div class="panel-wrap woocommerce"> <div class="panel-wrap woocommerce">
<input name="post_title" type="hidden" value="<?php echo empty( $post->post_title ) ? 'Order' : esc_attr( $post->post_title ); ?>" /> <input name="post_title" type="hidden" value="<?php echo empty( $post->post_title ) ? __( 'Order', 'woocommerce' ) : esc_attr( $post->post_title ); ?>" />
<input name="post_status" type="hidden" value="<?php echo esc_attr( $post->post_status ); ?>" /> <input name="post_status" type="hidden" value="<?php echo esc_attr( $post->post_status ); ?>" />
<div id="order_data" class="panel"> <div id="order_data" class="panel">