WordPress.org

Make WordPress Core

Ticket #44135: 44135.2.diff

File 44135.2.diff, 2.5 KB (added by allendav, 18 months ago)

Dark non clickable privacy request row actions slightly

  • 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/css/forms.css

     
    11131113        box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
    11141114}
    11151115
     1116.privacy_requests .row-actions {
     1117        color: #999;
     1118}
     1119
    11161120.privacy_requests tbody .has-request-results th {
    11171121        box-shadow: none;
    11181122}
  • 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