[wp-trac] [WordPress Trac] #39896: Customizer: Allow users to Draft changes before Publishing
WordPress Trac
noreply at wordpress.org
Sat Sep 16 01:34:32 UTC 2017
#39896: Customizer: Allow users to Draft changes before Publishing
-------------------------------------------------+-------------------------
Reporter: melchoyce | Owner:
Type: enhancement | westonruter
Priority: normal | Status: accepted
Component: Customize | Milestone: 4.9
Severity: normal | Version:
Keywords: has-patch needs-testing needs-unit- | Resolution:
tests | Focuses: ui
-------------------------------------------------+-------------------------
Comment (by melchoyce):
Replying to [comment:69 westonruter]:
> @melchoyce awesome, that is implemented now in the PR. I'm going to get
it up on an environment for you to test, but if I explicitly click the
close link should it not throw up a `confirm()` dialog, and if accepted,
delete the auto-draft since you explicitly didn't want to save it?
Otherwise, if you close the browser tab I'd consider that to be a non-
explicit exit of the Customizer and in that case the notice would be
presented for you to restore?
I'd keep it simple and always discard the autosave unless you explicitly
say "restore," like with posts. I don't think we need a confirmation.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39896#comment:70>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list