WordPress.org

Make WordPress Core

Changeset 49289


Ignore:
Timestamp:
10/23/2020 07:32:01 PM (14 months ago)
Author:
SergeyBiryukov
Message:

Privacy: Use more appropriate verbiage when downloading personal data export file from a row action.

Props garrett-eclipse, bridgetwillard.
Fixes #49319.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/js/_enqueues/admin/privacy-tools.js

    r48274 r49289  
    7878
    7979        function onExportDoneSuccess( zipUrl ) {
    80             var summaryMessage = __( 'The personal data export link for this user was sent.' );
     80            var summaryMessage = __( 'This user’s personal data export link was sent.' );
     81
     82            if ( 'undefined' !== typeof zipUrl ) {
     83                summaryMessage = __( 'This user’s personal data export file was downloaded.' );
     84            }
    8185
    8286            setActionState( $action, 'export-personal-data-success' );
Note: See TracChangeset for help on using the changeset viewer.