Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#42173 closed defect (bug) (fixed)

Customize: Confirmation dialog shown when closing theme switch preview even when no change was made

Reported by: westonruter Owned by: westonruter
Priority: normal Milestone: 4.9
Component: Customize Version:
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

Customizer should not warn about closing when the user never made any changes when opening the customizer to preview a theme switch.

Demo video: ​https://youtu.be/_fWb_02WQKQ

Attachments (1)

42173.0.diff​ (868 bytes ) - added by westonruter 9 years ago.

Download all attachments as: .zip

Change History (4)

@westonruter
9 years ago

#1 @westonruter
9 years ago

  • Keywords has-patch added; needs-patch removed

This ticket was mentioned in ​Slack in #core by westonruter. ​View the logs.


9 years ago

#3 @westonruter
9 years ago

  • Owner set to westonruter
  • Resolution → fixed
  • Status new → closed

In 41845:

Customize: Prevent showing confirmation dialog when leaving Customizer after previewing theme switch without making any changes.

Fixes #42173.

Note: See TracTickets for help on using tickets.