Re-Enable a Greyed out WordPress Publish or Update Button

WordPress autosaves as you edit, but this can go wrong and disables the update button. Here's how to fix disabled WordPress publish button.

By Tim TrottWordPress • March 14, 2013
Re-Enable a Greyed out WordPress Publish or Update Button

WordPress performs autosaves as you edit a post. An autosave or even a publish command can be interrupted by connection problems, in which case you are left with a greyed-out button, unable to save your post even as a draft! The update and publish buttons are not working!

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

How to fix Broken WordPress Update Button

Fortunately, this bug can be overcome easily. Here's how to fix a greyed-out WordPress publish button. If your browser, with or without specialized plugins, offers an inspection option or developer tools (usually accessed with the F12 key), you can right-click the greyed-out button and select "Inspect Element". You will see a line of code such as:

xml
<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.

Why is the Update or Publish Button Disabled?

If the button is continuously disabled, it may be a symptom of a wider problem. Rather than keep re-enabling the disabled update button, it would be a good idea to find out why it is being disabled.

To do this, you can install the Health Check & Troubleshooting plugin from the WordPress community. This plugin will perform several checks on your WordPress installation to detect common configuration errors and known issues and allow plugins and themes to add their checks. Remember, you're not alone in this. There are additional resources available to help you.

About the Author

Tim Trott is a senior software engineer with over 20 years of experience in designing, building, and maintaining software systems across a range of industries. Passionate about clean code, scalable architecture, and continuous learning, he specialises in creating robust solutions that solve real-world problems. He is currently based in Edinburgh, where he develops innovative software and collaborates with teams around the globe.

Related ArticlesThese articles may also be of interest to you

CommentsShare your thoughts in the comments below

My website and its content are free to use without the clutter of adverts, popups, marketing messages or anything else like that. If you enjoyed reading this article, or it helped you in some way, all I ask in return is you leave a comment below or share this page with your friends. Thank you.

This post has only 1 comment. Why not join the discussion!

New comments for this post are currently closed.