Clarified self-deletion note

This commit is contained in:
Tetrakern 2024-09-27 12:01:17 +02:00
parent 8da88c4f42
commit 3e68f42098
2 changed files with 2 additions and 2 deletions

View File

@ -2167,7 +2167,7 @@ function fictioneer_admin_danger_zone( $profile_user ) {
<tr class="user-danger-zone-wrap">
<th><label for=""><?php _e( 'Delete Account', 'fictioneer' ); ?></label></th>
<td>
<p style="margin: 0.35em 0 1em !important;"><?php _e( 'You can delete your account and associated data with it. Submitted <em>content</em> such as comments will remain under the “Deleted User” name unless you clear that <em>prior</em>. Be aware that once you delete your account, there is no going back.', 'fictioneer' ); ?></p>
<p style="margin: 0.35em 0 1em !important;"><?php _e( 'You can delete your account and associated user data with it. Submitted <em>content</em> such as comments and posts will remain under the “Deleted User” name unless you remove them <em>prior</em>. Be aware that once you delete your account, there is no going back.', 'fictioneer' ); ?></p>
<fieldset>
<div>
<a

View File

@ -36,7 +36,7 @@ $delete_account_prompt = sprintf(
<h3 class="profile__danger-headline"><?php _e( 'Danger Zone', 'fictioneer' ); ?></h3>
<p class="profile__description"><?php _e( 'You can delete your account and associated data with it. Submitted <em>content</em> such as comments will remain under the “Deleted User” name unless you clear that <em>prior</em>. Be aware that once you delete your account, there is no going back.', 'fictioneer' ); ?></p>
<p class="profile__description"><?php _e( 'You can delete your account and associated user data with it. Submitted <em>content</em> such as comments and posts will remain under the “Deleted User” name unless you remove them <em>prior</em>. Be aware that once you delete your account, there is no going back.', 'fictioneer' ); ?></p>
<div class="profile__actions">
<button id="button-delete-my-account" type="button" class="button _danger" data-nonce="<?php echo wp_create_nonce( 'fictioneer_delete_account' ); ?>" data-id="<?php echo $current_user->ID; ?>" data-confirm="<?php echo $confirmation; ?>" data-warning="<?php echo esc_attr( $delete_account_prompt ); ?>"><?php _e( 'Delete Account', 'fictioneer' ); ?></button>