Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#8710 closed defect (bug) (fixed)

Pages - clicking "save draft" or "publish" during autosave results in duplicate

Reported by: emartin24's profile emartin24 Owned by:
Milestone: 2.8 Priority: high
Severity: major Version: 2.7
Component: Autosave Keywords: autosave, jquery, page, duplicate
Focuses: Cc:

Description

If a user enters a title for a page and then clicks "save draft" or "publish", the autosave starts and the page is saved at the same time - resulting in duplicates (1 published and 1 draft) of the page.

The jQuery selector will only work on the Posts page - an update to autosave.js prevents this issue. Patch attached.

Attachments (2)

autosave.patch (776 bytes) - added by emartin24 14 years ago.
autosave fix
autosave.2.patch (776 bytes) - added by emartin24 14 years ago.
autosave fix

Download all attachments as: .zip

Change History (5)

@emartin24
14 years ago

autosave fix

@emartin24
14 years ago

autosave fix

#1 @azaozz
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [10250]) Fix disabling of submit buttons while auto-saving for pages, props emartin24, fixes #8710 for 2.7

#2 @azaozz
14 years ago

  • Milestone changed from 2.7.1 to 2.8
  • Resolution fixed deleted
  • Status changed from closed to reopened

Reopen for trunk.

#3 @azaozz
14 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [10251]) Fix disabling of submit buttons while auto-saving for pages, props emartin24, fixes #8710 for trunk

Note: See TracTickets for help on using tickets.