Changeset 43176
- Timestamp:
- 05/07/2018 04:45:42 PM (7 years ago)
- Location:
- branches/4.9
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
-
branches/4.9/src/wp-admin/includes/user.php
r43173 r43176 837 837 ?> 838 838 <div class="wrap nosubsub"> 839 <h1><?php esc_html_e( ' Remove Personal Data' ); ?></h1>839 <h1><?php esc_html_e( 'Erase Personal Data' ); ?></h1> 840 840 <hr class="wp-header-end" /> 841 841 … … 843 843 844 844 <form method="post" class="wp-privacy-request-form"> 845 <h2><?php esc_html_e( 'Add Data RemovalRequest' ); ?></h2>845 <h2><?php esc_html_e( 'Add Data Erasure Request' ); ?></h2> 846 846 <p><?php esc_html_e( 'An email will be sent to the user at this email address asking them to verify the request.' ); ?></p> 847 847 … … 885 885 function _wp_privacy_hook_requests_page() { 886 886 add_submenu_page( 'tools.php', __( 'Export Personal Data' ), __( 'Export Personal Data' ), 'export_others_personal_data', 'export_personal_data', '_wp_personal_data_export_page' ); 887 add_submenu_page( 'tools.php', __( ' Remove Personal Data' ), __( 'Remove Personal Data' ), 'erase_others_personal_data', 'remove_personal_data', '_wp_personal_data_removal_page' );887 add_submenu_page( 'tools.php', __( 'Erase Personal Data' ), __( 'Erase Personal Data' ), 'erase_others_personal_data', 'remove_personal_data', '_wp_personal_data_removal_page' ); 888 888 } 889 889 … … 976 976 977 977 $query = " 978 SELECT post_status, COUNT( * ) AS num_posts 979 FROM {$wpdb->posts} 978 SELECT post_status, COUNT( * ) AS num_posts 979 FROM {$wpdb->posts} 980 980 WHERE post_type = %s 981 981 AND post_name = %s … … 1422 1422 '">'; 1423 1423 1424 $remove_data_markup .= '<span class="remove_personal_data_idle"><a href="#" >' . __( 'Force Remove Personal Data' ) . '</a></span>' .1425 '<span style="display:none" class="remove_personal_data_processing" >' . __( ' Removing Data...' ) . '</span>' .1426 '<span style="display:none" class="remove_personal_data_failed">' . __( 'Force Remove has failed.' ) . ' <a href="#" >' . __( 'Retry' ) . '</a></span>';1424 $remove_data_markup .= '<span class="remove_personal_data_idle"><a href="#" >' . __( 'Force Erase Personal Data' ) . '</a></span>' . 1425 '<span style="display:none" class="remove_personal_data_processing" >' . __( 'Erasing Data...' ) . '</span>' . 1426 '<span style="display:none" class="remove_personal_data_failed">' . __( 'Force Erase has failed.' ) . ' <a href="#" >' . __( 'Retry' ) . '</a></span>'; 1427 1427 1428 1428 $remove_data_markup .= '</div>'; … … 1464 1464 1465 1465 ?> 1466 <span class="remove_personal_data_idle"><a class="button" href="#" ><?php _e( ' Remove Personal Data' ); ?></a></span>1467 <span style="display:none" class="remove_personal_data_processing button updating-message" ><?php _e( ' Removing Data...' ); ?></span>1468 <span style="display:none" class="remove_personal_data_failed"><?php _e( ' Removing Data has failed.' ); ?> <a class="button" href="#" ><?php _e( 'Retry' ); ?></a></span>1466 <span class="remove_personal_data_idle"><a class="button" href="#" ><?php _e( 'Erase Personal Data' ); ?></a></span> 1467 <span style="display:none" class="remove_personal_data_processing button updating-message" ><?php _e( 'Erasing Data...' ); ?></span> 1468 <span style="display:none" class="remove_personal_data_failed"><?php _e( 'Erasing Data has failed.' ); ?> <a class="button" href="#" ><?php _e( 'Retry' ); ?></a></span> 1469 1469 <?php 1470 1470 -
branches/4.9/src/wp-includes/script-loader.php
r43092 r43176 663 663 'xfn', 'privacyToolsL10n', array( 664 664 'noDataFound' => __( 'No personal data was found for this user.' ), 665 'foundAndRemoved' => __( 'All of the personal data found for this user was removed.' ),666 'noneRemoved' => __( 'Personal data was found for this user but was not removed.' ),667 'someNotRemoved' => __( 'Personal data was found for this user but some of the personal data found was not removed.' ),668 'removalError' => __( 'An error occurred while attempting to find and remove personal data.' ),665 'foundAndRemoved' => __( 'All of the personal data found for this user was erased.' ), 666 'noneRemoved' => __( 'Personal data was found for this user but was not erased.' ), 667 'someNotRemoved' => __( 'Personal data was found for this user but some of the personal data found was not erased.' ), 668 'removalError' => __( 'An error occurred while attempting to find and erase personal data.' ), 669 669 'noExportFile' => __( 'No personal data export file was generated.' ), 670 670 'exportError' => __( 'An error occurred while attempting to export personal data.' ), -
branches/4.9/src/wp-includes/user.php
r43157 r43176 2961 2961 break; 2962 2962 case 'remove_personal_data': 2963 $description = __( ' Remove Personal Data' );2963 $description = __( 'Erase Personal Data' ); 2964 2964 break; 2965 2965 default:
Note: See TracChangeset
for help on using the changeset viewer.