fixed "Download your data" and "Erase of your data" fields layout.

This commit is contained in:
yuriinalivaiko
2025-01-13 16:50:14 +02:00
parent b0b9f82ebe
commit 8bf8a0130b
+5 -3
View File
@@ -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 { ?>