Update links

This commit is contained in:
dsmithweb 2019-12-10 18:41:55 -06:00
parent a88cb4b182
commit 5a17c63cc9
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ class WC_Settings_Accounts extends WC_Settings_Page {
public function get_settings() { public function get_settings() {
$erasure_text = esc_html__( 'account erasure request', 'woocommerce' ); $erasure_text = esc_html__( 'account erasure request', 'woocommerce' );
if ( current_user_can( 'manage_privacy_options' ) ) { if ( current_user_can( 'manage_privacy_options' ) ) {
$erasure_text = sprintf( '<a href="%s">%s</a>', esc_url( admin_url( 'tools.php?page=remove_personal_data' ) ), $erasure_text ); $erasure_text = sprintf( '<a href="%s">%s</a>', esc_url( admin_url( 'erase-personal-data.php' ) ), $erasure_text );
} }
$account_settings = array( $account_settings = array(