[wp-trac] [WordPress Trac] #42411: Theme admin screen allows Live Preview while changeset is drafted/scheduled

WordPress Trac noreply at wordpress.org
Thu Nov 2 15:19:46 UTC 2017


#42411: Theme admin screen allows Live Preview while changeset is drafted/scheduled
-------------------------------------+--------------------------
 Reporter:  westonruter              |       Owner:  westonruter
     Type:  defect (bug)             |      Status:  accepted
 Priority:  normal                   |   Milestone:  4.9
Component:  Customize                |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+--------------------------

Comment (by melchoyce):

 Patch works for me. 👍

 Let's update the copy to:

 > Because you have drafted or scheduled changes, live previewing other
 themes is currently disabled. Please [publish your changes], or wait until
 they publish to preview new themes.

 "Publish your changes" should link to the open Publish Settings panel,
 focused on the Publish radio button.

 Though, while testing, I noticed that you can still activate a new theme —
 and your drafted changeset still exists, even though your changes might
 not be possible. Maybe we should either disable the activate buttons as
 well, or wipe drafted/scheduled changes on activate (and pop up an alert
 to confirm before allowing activation).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42411#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list