Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#12484 closed enhancement (invalid)

Disable Publish/Update button when already saving

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

Description

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
14 years ago

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

#2 @scribu
14 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.