Disabling the Save and Publish buttons when heartbeat connection is in error state
|Reported by:||azaozz||Owned by:||carldanley|
Currently we disable the Save/Publish buttons and show a "connection with the server fail" error message on the Edit Post screen when heartbeat connection times out or the server response is invalid/error.
This may be too aggressive. In some cases the XHR may fail but the form can still be submitted as discussed in #wordpres-dev.