Merge pull request #21715 from angelleye/21714

Sets signature field type to password for security, resolves #21714
This commit is contained in:
Claudiu Lodromanean 2018-11-02 08:09:56 -07:00 committed by GitHub
commit 00d254ac18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -153,7 +153,7 @@ return array(
),
'api_signature' => array(
'title' => __( 'Live API signature', 'woocommerce' ),
'type' => 'text',
'type' => 'password',
'description' => __( 'Get your API credentials from PayPal.', 'woocommerce' ),
'default' => '',
'desc_tip' => true,
@ -177,7 +177,7 @@ return array(
),
'sandbox_api_signature' => array(
'title' => __( 'Sandbox API signature', 'woocommerce' ),
'type' => 'text',
'type' => 'password',
'description' => __( 'Get your API credentials from PayPal.', 'woocommerce' ),
'default' => '',
'desc_tip' => true,