mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
fixed "Download your data" and "Erase of your data" fields layout.
This commit is contained in:
@@ -681,7 +681,7 @@ function um_after_account_privacy( $args ) {
|
||||
} else {
|
||||
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' ); ?>
|
||||
</label>
|
||||
<div class="um-field-area">
|
||||
@@ -771,8 +771,10 @@ function um_after_account_privacy( $args ) {
|
||||
} else {
|
||||
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' ); ?>
|
||||
</label>
|
||||
<div class="um-field-area">
|
||||
<?php if ( UM()->options()->get( 'toggle_password' ) ) { ?>
|
||||
<div class="um-field-area-password">
|
||||
<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' ); ?>
|
||||
</div>
|
||||
<div class="um-field-area-response um-erase-data"></div>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<?php } else { ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user