Make WordPress Core

Changeset 58145

Timestamp:
05/14/2024 04:12:45 PM (2 months ago)
Author:
SergeyBiryukov
Message:

Users: Reuse an existing string in the confirmation for unsaved changes in user profile.

Follow-up to [58137].

Fixes #40493.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/js/_enqueues/admin/user-profile.js

    r58137 r58145  
    492492        }
    493493        if ( originalFormContent !== $form.serialize() && ! isSubmitting ) {
    494             return __( 'Changes that you made may not be saved.' );
     494            return __( '.' );
    495495        }
    496496    });
Note: See TracChangeset for help on using the changeset viewer.