WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#42143 closed defect (bug) (fixed)

Customizer save button does not get enabled after restoring the autosave for draft and future

Reported by: sayedwp Owned by: westonruter
Milestone: 4.9 Priority: normal
Severity: normal Version: 4.9
Component: Customize Keywords: has-patch
Focuses: ui, javascript Cc:
PR Number:

Description

If auto-save revision is loaded by the user after clicking the “Restore the autosave” link, the save button does not get enabled, currently it's only getting enabled when the status is ‘’;

Related Ticket: #39896

Attachments (1)

42143.diff (642 bytes) - added by sayedwp 2 years ago.

Download all attachments as: .zip

Change History (3)

@sayedwp
2 years ago

#1 @westonruter
2 years ago

  • Keywords has-patch added
  • Milestone changed from Awaiting Review to 4.9
  • Owner set to westonruter
  • Status changed from new to accepted

#2 @westonruter
2 years ago

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

In 41826:

Customize: Make sure saved state is initially false when restoring autosave revision so that Save button will be enabled.

Amends [41597].
Props sayedwp.
See #39896.
Fixes #42143.

Note: See TracTickets for help on using tickets.