Improved truncated key description
This commit is contained in:
parent
bb0811643c
commit
eebd47ecf8
|
@ -38,7 +38,7 @@ class WC_Admin_API_Keys_Table_List extends WP_List_Table {
|
|||
return array(
|
||||
'cb' => '<input type="checkbox" />',
|
||||
'description' => __( 'Description', 'woocommerce' ),
|
||||
'truncated_key' => __( 'Truncated Consumer Key', 'woocommerce' ),
|
||||
'truncated_key' => __( 'Consumer Key Ending In', 'woocommerce' ),
|
||||
'user' => __( 'User', 'woocommerce' ),
|
||||
'permissions' => __( 'Permissions', 'woocommerce' ),
|
||||
'last_access' => __( 'Last Access', 'woocommerce' )
|
||||
|
|
|
@ -59,7 +59,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
<?php if ( 0 !== $key_id ) : ?>
|
||||
<tr valign="top">
|
||||
<th scope="row" class="titledesc">
|
||||
<?php _e( 'Truncated Consumer Key', 'woocommerce' ); ?>
|
||||
<?php _e( 'Consumer Key Ending In', 'woocommerce' ); ?>
|
||||
</th>
|
||||
<td class="forminp">
|
||||
<code>…<?php echo esc_html( $key_data['truncated_key'] ); ?></code>
|
||||
|
|
Loading…
Reference in New Issue