Link to erasure page

This commit is contained in:
Mike Jolley 2018-04-30 15:41:38 +01:00
parent c765ce644d
commit 6f6f15d22a
1 changed files with 4 additions and 2 deletions

View File

@ -92,7 +92,8 @@ class WC_Settings_Accounts extends WC_Settings_Page {
array( array(
'title' => __( 'Account erasure requests', 'woocommerce' ), 'title' => __( 'Account erasure requests', 'woocommerce' ),
'desc' => __( 'Remove personal data from orders', 'woocommerce' ), 'desc' => __( 'Remove personal data from orders', 'woocommerce' ),
'desc_tip' => __( 'When handling an account erasure request, should personal data within orders be retained or removed?', 'woocommerce' ), /* Translators: %s URL to erasure request screen. */
'desc_tip' => sprintf( __( 'When handling an <a href="%s">account erasure request</a>, should personal data within orders be retained or removed?', 'woocommerce' ), esc_url( admin_url( 'tools.php?page=remove_personal_data' ) ) ),
'id' => 'woocommerce_erasure_request_removes_order_data', 'id' => 'woocommerce_erasure_request_removes_order_data',
'type' => 'checkbox', 'type' => 'checkbox',
'default' => 'no', 'default' => 'no',
@ -101,7 +102,8 @@ class WC_Settings_Accounts extends WC_Settings_Page {
), ),
array( array(
'desc' => __( 'Remove access to downloads', 'woocommerce' ), 'desc' => __( 'Remove access to downloads', 'woocommerce' ),
'desc_tip' => __( 'When handling an account erasure request, should access to downloadable files be revoked and download logs cleared?', 'woocommerce' ), /* Translators: %s URL to erasure request screen. */
'desc_tip' => sprintf( __( 'When handling an <a href="%s">account erasure request</a>, should access to downloadable files be revoked and download logs cleared?', 'woocommerce' ), esc_url( admin_url( 'tools.php?page=remove_personal_data' ) ) ),
'id' => 'woocommerce_erasure_request_removes_download_data', 'id' => 'woocommerce_erasure_request_removes_download_data',
'type' => 'checkbox', 'type' => 'checkbox',
'default' => 'no', 'default' => 'no',