mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-03 20:09:40 +00:00
* "-1" is an invalid nonce error, show 'An error has occurred. Please reload the page and try again.'. * "error" means that the connection to the server was lost, show 'Connection lost or the server is busy. Please try again later.'. * Escape the message in `wp-updates-admin-notice` because the response may include HTML. * Remove HTML tags in `wp.updates.isValidResponse()` to make PHP's error messages more readable. Merge of [38205] to the 4.6 branch. Props azaozz for review. See #37583. Built from https://develop.svn.wordpress.org/branches/4.6@38206 git-svn-id: http://core.svn.wordpress.org/branches/4.6@38147 1a063a9b-81f0-0310-95a4-ce76da25c4cd