Ticket #43974: 43974.4.diff
File 43974.4.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
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 )