WordPress.org

Make WordPress Core

Ticket #44135: 44135.diff

File 44135.diff, 2.1 KB (added by allendav, 16 months ago)
  • src/js/_enqueues/admin/xfn.js

     
    170170                        var summaryMessage = strings.noDataFound;
    171171                        var classes = 'notice-success';
    172172
    173                         setActionState( $action, 'remove-personal-data-idle' );
     173                        setActionState( $action, 'remove-personal-data-success' );
    174174
    175175                        if ( false === hasRemoved ) {
    176176                                if ( false === hasRetained ) {
  • src/wp-admin/includes/user.php

     
    15491549
    15501550                        $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>' .
    15511551                                '<span style="display:none" class="remove-personal-data-processing" >' . __( 'Erasing Data...' ) . '</span>' .
     1552                                '<span style="display:none" class="remove-personal-data-success">' . __( 'Erase completed.' ) . '</span>' .
    15521553                                '<span style="display:none" class="remove-personal-data-failed">' . __( 'Force Erase has failed.' ) . ' <button type="button" class="button-link remove-personal-data-handle">' . __( 'Retry' ) . '</button></span>';
    15531554
    15541555                        $remove_data_markup .= '</div>';
     
    15921593                                ?>
    15931594                                <span class="remove-personal-data-idle"><button type="button" class="button remove-personal-data-handle"><?php _e( 'Erase Personal Data' ); ?></button></span>
    15941595                                <span style="display:none" class="remove-personal-data-processing button updating-message" ><?php _e( 'Erasing Data...' ); ?></span>
     1596                                <span style="display:none" class="remove-personal-data-success success-message" ><?php _e( 'Erase completed.' ); ?></span>
    15951597                                <span style="display:none" class="remove-personal-data-failed"><?php _e( 'Erasing Data has failed.' ); ?> <button type="button" class="button remove-personal-data-handle"><?php _e( 'Retry' ); ?></button></span>
    15961598                                <?php
    15971599