Re-enable a grayed out WordPress publish or update button in your post

WordPress performs auto saves as you edit a post. An auto save or even a publish command can be interrupted by connection problems, in which case you are left with a grayed out button, unable to save your post even as a draft!

In this so unpleasant situation you may have to copy all page content, refresh the page and paste your content back, to make the publish / draft or update button clickable, even to find out that you lost some of your post content, such as tags or images.

Fortunately this bug can be overcome easily. If your browser, with or without specialized plugins, offers an inspection option, you can right-click on the grayed-out button and select to “Inspect Element”. You will see a line of code such as:

<input name="save" type="submit" class="button button-primary button-large disabled" id="publish" accesskey="p" value="Update">

Double click this line to make it editable, delete the word “disabled” and hit enter to activate this change. The update button becomes clickable again! Click it and update or publish your post.