WordPress.org

Make WordPress Core

Ticket #49319: 49319.diff

File 49319.diff, 594 bytes (added by garrett-eclipse, 2 months ago)

Initial Patch to provide "The personal data export file for this user was downloaded." verbiage on download

  • src/js/_enqueues/admin/privacy-tools.js

     
    7878
    7979                function onExportDoneSuccess( zipUrl ) {
    8080                        var summaryMessage = __( 'The personal data export link for this user was sent.' );
     81                        if ( 'undefined' !== typeof zipUrl ) {
     82                                summaryMessage = __( 'The personal data export file for this user was downloaded.' );
     83                        }
    8184
    8285                        setActionState( $action, 'export-personal-data-success' );
    8386