Make WordPress Core


Ignore:
Timestamp:
05/07/2018 04:44:15 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Privacy: Use the terms "erase"/"erasure" instead of "remove"/"removal" for personal data.

Props allendav.
Fixes #43920.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/user.php

    r43172 r43175  
    878878    ?>
    879879    <div class="wrap nosubsub">
    880         <h1><?php esc_html_e( 'Remove Personal Data' ); ?></h1>
     880        <h1><?php esc_html_e( 'Erase Personal Data' ); ?></h1>
    881881        <hr class="wp-header-end" />
    882882
     
    884884
    885885        <form method="post" class="wp-privacy-request-form">
    886             <h2><?php esc_html_e( 'Add Data Removal Request' ); ?></h2>
     886            <h2><?php esc_html_e( 'Add Data Erasure Request' ); ?></h2>
    887887            <p><?php esc_html_e( 'An email will be sent to the user at this email address asking them to verify the request.' ); ?></p>
    888888
     
    926926function _wp_privacy_hook_requests_page() {
    927927    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' );
    929929}
    930930
     
    10171017
    10181018        $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}
    10211021            WHERE post_type = %s
    10221022            AND post_name = %s
     
    14631463                '">';
    14641464
    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>';
    14681468
    14691469            $remove_data_markup .= '</div>';
     
    15051505
    15061506                ?>
    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>
    15101510                <?php
    15111511
Note: See TracChangeset for help on using the changeset viewer.