WordPress.org

Make WordPress Core

Changeset 39253


Ignore:
Timestamp:
11/15/2016 08:41:40 PM (18 months ago)
Author:
SergeyBiryukov
Message:

Text Changes: Unify permission error message in wp-ajax-response.js.

See #34521.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/wp-ajax-response.js

    r36286 r39253  
    5757        return !wpAjax.invalidateForm( selector.find('.form-required').filter( function() { return jQuery('input:visible', this).val() === ''; } ) ).length;
    5858    }
    59 }, wpAjax || { noPerm: 'You do not have permission to do that.', broken: 'An unidentified error has occurred.' } );
     59}, wpAjax || { noPerm: 'Sorry, you are not allowed to do that.', broken: 'An unidentified error has occurred.' } );
    6060
    6161// Basic form validation
Note: See TracChangeset for help on using the changeset viewer.