Changeset 43175 for trunk/src/wp-admin/includes/user.php
- Timestamp:
- 05/07/2018 04:44:15 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/user.php
r43172 r43175 878 878 ?> 879 879 <div class="wrap nosubsub"> 880 <h1><?php esc_html_e( ' Remove Personal Data' ); ?></h1>880 <h1><?php esc_html_e( 'Erase Personal Data' ); ?></h1> 881 881 <hr class="wp-header-end" /> 882 882 … … 884 884 885 885 <form method="post" class="wp-privacy-request-form"> 886 <h2><?php esc_html_e( 'Add Data RemovalRequest' ); ?></h2>886 <h2><?php esc_html_e( 'Add Data Erasure Request' ); ?></h2> 887 887 <p><?php esc_html_e( 'An email will be sent to the user at this email address asking them to verify the request.' ); ?></p> 888 888 … … 926 926 function _wp_privacy_hook_requests_page() { 927 927 add_submenu_page( 'tools.php', __( 'Export Personal Data' ), __( 'Export Personal Data' ), 'export_others_personal_data', 'export_personal_data', '_wp_personal_data_export_page' ); 928 add_submenu_page( 'tools.php', __( ' Remove Personal Data' ), __( 'Remove Personal Data' ), 'erase_others_personal_data', 'remove_personal_data', '_wp_personal_data_removal_page' );928 add_submenu_page( 'tools.php', __( 'Erase Personal Data' ), __( 'Erase Personal Data' ), 'erase_others_personal_data', 'remove_personal_data', '_wp_personal_data_removal_page' ); 929 929 } 930 930 … … 1017 1017 1018 1018 $query = " 1019 SELECT post_status, COUNT( * ) AS num_posts 1020 FROM {$wpdb->posts} 1019 SELECT post_status, COUNT( * ) AS num_posts 1020 FROM {$wpdb->posts} 1021 1021 WHERE post_type = %s 1022 1022 AND post_name = %s … … 1463 1463 '">'; 1464 1464 1465 $remove_data_markup .= '<span class="remove_personal_data_idle"><a href="#" >' . __( 'Force Remove Personal Data' ) . '</a></span>' .1466 '<span style="display:none" class="remove_personal_data_processing" >' . __( ' Removing Data...' ) . '</span>' .1467 '<span style="display:none" class="remove_personal_data_failed">' . __( 'Force Remove has failed.' ) . ' <a href="#" >' . __( 'Retry' ) . '</a></span>';1465 $remove_data_markup .= '<span class="remove_personal_data_idle"><a href="#" >' . __( 'Force Erase Personal Data' ) . '</a></span>' . 1466 '<span style="display:none" class="remove_personal_data_processing" >' . __( 'Erasing Data...' ) . '</span>' . 1467 '<span style="display:none" class="remove_personal_data_failed">' . __( 'Force Erase has failed.' ) . ' <a href="#" >' . __( 'Retry' ) . '</a></span>'; 1468 1468 1469 1469 $remove_data_markup .= '</div>'; … … 1505 1505 1506 1506 ?> 1507 <span class="remove_personal_data_idle"><a class="button" href="#" ><?php _e( ' Remove Personal Data' ); ?></a></span>1508 <span style="display:none" class="remove_personal_data_processing button updating-message" ><?php _e( ' Removing Data...' ); ?></span>1509 <span style="display:none" class="remove_personal_data_failed"><?php _e( ' Removing Data has failed.' ); ?> <a class="button" href="#" ><?php _e( 'Retry' ); ?></a></span>1507 <span class="remove_personal_data_idle"><a class="button" href="#" ><?php _e( 'Erase Personal Data' ); ?></a></span> 1508 <span style="display:none" class="remove_personal_data_processing button updating-message" ><?php _e( 'Erasing Data...' ); ?></span> 1509 <span style="display:none" class="remove_personal_data_failed"><?php _e( 'Erasing Data has failed.' ); ?> <a class="button" href="#" ><?php _e( 'Retry' ); ?></a></span> 1510 1510 <?php 1511 1511
Note: See TracChangeset
for help on using the changeset viewer.