Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#12484 closed enhancement (invalid)

Disable Publish/Update button when already saving

Reported by: stephdau Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Editor Keywords:
Focuses: Cc:


Sorry if there's already a similar ticket, could not find one.

I'd like to suggest discussing disabling the publish/update button in the post/page edit screen when the button has already been clicked. As it stands now, an impatient user can repeatedly click the button and all of the requests are passed to the server. The said server ends up processing the request (most likely when combined with http://php.net/manual/en/function.ignore-user-abort.php) despite not being able to return the outcome to the user.

I'm suggesting a discussion on the subject to outline unexpected issues with the above if there are any.

Change History (2)

#1 @stephdau
8 years ago

Realized I had not specifically mentioned that the live-disabling could be achieved via Javascript.

#2 @scribu
8 years ago

  • Milestone Unassigned deleted
  • Resolution set to invalid
  • Status changed from new to closed

Don't know what version of WP you're using, but in 3.0 (and ever since 2.7 I think), it's already disabled. While sending the request, a little spinner apears to the left.

Note: See TracTickets for help on using tickets.