wp/wp-includes/js/wp-ajax-response.js
changeset 22 8c2e4d02f4ef
parent 21 48c4eec2b7e6
--- a/wp/wp-includes/js/wp-ajax-response.js	Fri Sep 05 18:40:08 2025 +0200
+++ b/wp/wp-includes/js/wp-ajax-response.js	Fri Sep 05 18:52:52 2025 +0200
@@ -83,7 +83,7 @@
 		selector = jQuery( selector );
 		return !wpAjax.invalidateForm( selector.find('.form-required').filter( function() { return jQuery('input:visible', this).val() === ''; } ) ).length;
 	}
-}, wpAjax || { noPerm: 'Sorry, you are not allowed to do that.', broken: 'Something went wrong.' } );
+}, wpAjax || { noPerm: 'Sorry, you are not allowed to do that.', broken: 'An error occurred while processing your request. Please refresh the page and try again.' } );
 
 // Basic form validation.
 jQuery( function($){