WordPress.org

Make WordPress Core

Ticket #44135: 44135.4.diff

File 44135.4.diff, 2.5 KB (added by garrett-eclipse, 4 months ago)

Refreshed patch

  • src/js/_enqueues/admin/privacy-tools.js

     
    151151                        var summaryMessage = strings.noDataFound;
    152152                        var classes = 'notice-success';
    153153
    154                         setActionState( $action, 'remove-personal-data-idle' );
     154                        setActionState( $action, 'remove-personal-data-success' );
    155155
    156156                        if ( false === hasRemoved ) {
    157157                                if ( false === hasRetained ) {
  • src/wp-admin/css/forms.css

     
    11351135        box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    11361136}
    11371137
     1138.privacy_requests .row-actions {
     1139        color: #72777C;
     1140}
     1141
    11381142.privacy_requests tbody .has-request-results th {
    11391143        box-shadow: none;
    11401144}
  • src/wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php

     
    6363
    6464                        $remove_data_markup .= '<span class="remove-personal-data-idle"><button type="button" class="button-link remove-personal-data-handle">' . __( 'Force Erase Personal Data' ) . '</button></span>' .
    6565                                '<span class="remove-personal-data-processing hidden">' . __( 'Erasing Data...' ) . '</span>' .
     66                                '<span class="remove-personal-data-success hidden">' . __( 'Erase completed.' ) . '</span>' .
    6667                                '<span class="remove-personal-data-failed hidden">' . __( 'Force Erase has failed.' ) . ' <button type="button" class="button-link remove-personal-data-handle">' . __( 'Retry' ) . '</button></span>';
    6768
    6869                        $remove_data_markup .= '</div>';
     
    106107                                ?>
    107108                                <span class="remove-personal-data-idle"><button type="button" class="button remove-personal-data-handle"><?php _e( 'Erase Personal Data' ); ?></button></span>
    108109                                <span class="remove-personal-data-processing button updating-message hidden"><?php _e( 'Erasing Data...' ); ?></span>
     110                                <span class="remove-personal-data-success success-message hidden" ><?php _e( 'Erase completed.' ); ?></span>
    109111                                <span class="remove-personal-data-failed hidden"><?php _e( 'Erasing Data has failed.' ); ?> <button type="button" class="button remove-personal-data-handle"><?php _e( 'Retry' ); ?></button></span>
    110112                                <?php
    111113