Ticket #43974: 43974.5.diff
File 43974.5.diff, 1.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 var summaryMessage = strings.emailSent; 75 74 76 setActionState( $action, 'export-personal-data-success' ); 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-includes/script-loader.php
1801 1801 'noneRemoved' => __( 'Personal data was found for this user but was not erased.' ), 1802 1802 'someNotRemoved' => __( 'Personal data was found for this user but some of the personal data found was not erased.' ), 1803 1803 'removalError' => __( 'An error occurred while attempting to find and erase personal data.' ), 1804 'emailSent' => __( 'The personal data export link for this user was sent.' ), 1804 1805 'noExportFile' => __( 'No personal data export file was generated.' ), 1805 1806 'exportError' => __( 'An error occurred while attempting to export personal data.' ), 1806 1807 )