mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Merge pull request #1624 from ultimatemember/fix/um-erase-data
The "Erase of your data" layout (CU-86cxneg3d)
This commit is contained in:
@@ -681,7 +681,7 @@ function um_after_account_privacy( $args ) {
|
|||||||
} else {
|
} else {
|
||||||
if ( UM()->account()->current_password_is_required( 'privacy_download_data' ) ) {
|
if ( UM()->account()->current_password_is_required( 'privacy_download_data' ) ) {
|
||||||
?>
|
?>
|
||||||
<label name="um-export-data">
|
<label name="um-export-data" for="um-export-data">
|
||||||
<?php esc_html_e( 'Enter your current password to confirm a new export of your personal data.', 'ultimate-member' ); ?>
|
<?php esc_html_e( 'Enter your current password to confirm a new export of your personal data.', 'ultimate-member' ); ?>
|
||||||
</label>
|
</label>
|
||||||
<div class="um-field-area">
|
<div class="um-field-area">
|
||||||
@@ -771,8 +771,10 @@ function um_after_account_privacy( $args ) {
|
|||||||
} else {
|
} else {
|
||||||
if ( UM()->account()->current_password_is_required( 'privacy_erase_data' ) ) {
|
if ( UM()->account()->current_password_is_required( 'privacy_erase_data' ) ) {
|
||||||
?>
|
?>
|
||||||
<label name="um-erase-data">
|
<label name="um-erase-data" for="um-erase-data">
|
||||||
<?php esc_html_e( 'Enter your current password to confirm the erasure of your personal data.', 'ultimate-member' ); ?>
|
<?php esc_html_e( 'Enter your current password to confirm the erasure of your personal data.', 'ultimate-member' ); ?>
|
||||||
|
</label>
|
||||||
|
<div class="um-field-area">
|
||||||
<?php if ( UM()->options()->get( 'toggle_password' ) ) { ?>
|
<?php if ( UM()->options()->get( 'toggle_password' ) ) { ?>
|
||||||
<div class="um-field-area-password">
|
<div class="um-field-area-password">
|
||||||
<input id="um-erase-data" type="password" placeholder="<?php esc_attr_e( 'Password', 'ultimate-member' ); ?>">
|
<input id="um-erase-data" type="password" placeholder="<?php esc_attr_e( 'Password', 'ultimate-member' ); ?>">
|
||||||
@@ -785,7 +787,7 @@ function um_after_account_privacy( $args ) {
|
|||||||
<span class="um-field-arrow"><i class="um-faicon-caret-up"></i></span><?php esc_html_e( 'You must enter a password', 'ultimate-member' ); ?>
|
<span class="um-field-arrow"><i class="um-faicon-caret-up"></i></span><?php esc_html_e( 'You must enter a password', 'ultimate-member' ); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="um-field-area-response um-erase-data"></div>
|
<div class="um-field-area-response um-erase-data"></div>
|
||||||
</label>
|
</div>
|
||||||
|
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user