最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

What is happening to make my UpdatePublish button disabled?

matteradmin5PV0评论

I'm really wondering... What is WP doing when it disables the Update/Publish button?

It seems to happen every once in a while, and I could not say why in goes disabled sometimes for just a few minutes, but some other times it seems to be permanently disabled.

So what triggers the Update/Publish button to be disabled (and what reenables it?)

I'm really wondering... What is WP doing when it disables the Update/Publish button?

It seems to happen every once in a while, and I could not say why in goes disabled sometimes for just a few minutes, but some other times it seems to be permanently disabled.

So what triggers the Update/Publish button to be disabled (and what reenables it?)

Share Improve this question asked Apr 5, 2019 at 18:31 Fredy31Fredy31 8782 gold badges16 silver badges31 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 2

Without seeing your specific situation, I cannot say whether this is what's causing your issues or not, but this is my best guess.

WordPress has this cool thing called the Heartbeat API. It pings the server periodically while you're logged in and in the WordPress admin. It does a number of things to help improve the editing experience like auto-save, check if you're logged in, check if someone else is editing your page (or kicks you off), etc.

If the heartbeat doesn't execute successfully (or a variety of other situations), it can cause things like the publish button to be disabled. This is actually a good thing since it prevents you from trying to publish without a connection to the server (and potentially losing your work).

Post a comment

comment list (0)

  1. No comments so far