Ticket #43974: 43974.3.diff
File 43974.3.diff, 2.7 KB (added by , 5 years ago) |
---|
-
src/js/_enqueues/admin/privacy-tools.js
71 71 clearResultsAfterRow( $requestRow ); 72 72 73 73 function onExportDoneSuccess( zipUrl ) { 74 setActionState( $action, 'export-personal-data-success' ); 74 var summaryMessage = strings.emailSent; 75 76 setActionState( $action, 'export-personal-data-idle' ); 77 78 appendResultsAfterRow( $requestRow, 'notice-success', summaryMessage, [] ); 79 $this.hide(); 80 75 81 if ( 'undefined' !== typeof zipUrl ) { 76 82 window.location = zipUrl; 77 83 } else if ( ! sendAsEmail ) { … … 168 174 classes = 'notice-warning'; 169 175 } 170 176 } 171 appendResultsAfterRow( $requestRow, 'notice-success', summaryMessage, messages ); 177 appendResultsAfterRow( $requestRow, classes, summaryMessage, messages ); 178 $this.hide(); 172 179 } 173 180 174 181 function onErasureFailure() { -
src/wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php
101 101 ?> 102 102 <span class="export-personal-data-idle"><button type="button" class="button export-personal-data-handle"><?php _e( 'Send Export Link' ); ?></button></span> 103 103 <span class="export-personal-data-processing button updating-message hidden"><?php _e( 'Sending Email...' ); ?></span> 104 <span class="export-personal-data-success success-message hidden"><?php _e( 'Email sent.' ); ?></span>105 104 <span class="export-personal-data-failed hidden"><?php _e( 'Email could not be sent.' ); ?> <button type="button" class="button export-personal-data-handle"><?php _e( 'Retry' ); ?></button></span> 106 105 <?php 107 106 -
src/wp-includes/script-loader.php
1691 1691 'noneRemoved' => __( 'Personal data was found for this user but was not erased.' ), 1692 1692 'someNotRemoved' => __( 'Personal data was found for this user but some of the personal data found was not erased.' ), 1693 1693 'removalError' => __( 'An error occurred while attempting to find and erase personal data.' ), 1694 'emailSent' => __( 'The personal data export link for this user was sent.' ), 1694 1695 'noExportFile' => __( 'No personal data export file was generated.' ), 1695 1696 'exportError' => __( 'An error occurred while attempting to export personal data.' ), 1696 1697 )