Enhancement class-wc-admin-api-keys-table-list.php

Replaced Ellipses for asterisk when hiding part of the API Key
This commit is contained in:
Phill 2023-07-12 14:20:43 +07:00 committed by GitHub
parent dddd0e65ac
commit 64942cb195
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ class WC_Admin_API_Keys_Table_List extends WP_List_Table {
* @return string
*/
public function column_truncated_key( $key ) {
return '<code>&hellip;' . esc_html( $key['truncated_key'] ) . '</code>';
return '<code>***' . esc_html( $key['truncated_key'] ) . '</code>';
}
/**