Text Changes: Unify permission error message in wp-ajax-response.js
.
See #34521. git-svn-id: https://develop.svn.wordpress.org/trunk@39253 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
72b100ed7e
commit
a0be8c4393
@ -56,7 +56,7 @@ var wpAjax = jQuery.extend( {
|
||||
selector = jQuery( selector );
|
||||
return !wpAjax.invalidateForm( selector.find('.form-required').filter( function() { return jQuery('input:visible', this).val() === ''; } ) ).length;
|
||||
}
|
||||
}, wpAjax || { noPerm: 'You do not have permission to do that.', broken: 'An unidentified error has occurred.' } );
|
||||
}, wpAjax || { noPerm: 'Sorry, you are not allowed to do that.', broken: 'An unidentified error has occurred.' } );
|
||||
|
||||
// Basic form validation
|
||||
jQuery(document).ready( function($){
|
||||
|
Loading…
x
Reference in New Issue
Block a user