From bf65ec43e1279d4eb4453864dc8b896f2272c460 Mon Sep 17 00:00:00 2001 From: Champ Camba Date: Fri, 20 Nov 2020 23:10:09 +0800 Subject: [PATCH] Fix Download Personal Data URL _export_file_url no longer stored in the postmeta table --- includes/core/um-actions-account.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/includes/core/um-actions-account.php b/includes/core/um-actions-account.php index 388cc258..d445515d 100644 --- a/includes/core/um-actions-account.php +++ b/includes/core/um-actions-account.php @@ -526,9 +526,11 @@ function um_after_account_privacy( $args ) { ARRAY_A ); if ( ! empty( $completed ) ) { - + + $exports_url = wp_privacy_exports_url(); + echo '

' . esc_html__( 'You could download your previous data:', 'ultimate-member' ) . '

'; - echo '' . esc_html__( 'download personal data', 'ultimate-member' ) . ''; + echo '' . esc_html__( 'Download Personal Data', 'ultimate-member' ) . ''; echo '

' . esc_html__( 'You could send a new request for an export of personal your data.', 'ultimate-member' ) . '

'; }