[wp-trac] [WordPress Trac] #42406: Customize: Can't switch back to active theme once changeset is saved

WordPress Trac noreply at wordpress.org
Wed Nov 1 22:55:29 UTC 2017


#42406: Customize: Can't switch back to active theme once changeset is saved
-------------------------------------+--------------------
 Reporter:  dlh                      |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  4.9
Component:  Customize                |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+--------------------
Changes (by westonruter):

 * keywords:   => has-patch needs-testing
 * milestone:  Awaiting Review => 4.9


Comment:

 @dlh The part in your steps is 2:

 > Open the Themes panel, discover that you can't preview themes while the
 changeset is a draft, and switch the changeset status back to "publish."

 Note in particular that if you had hit the Publish button, then it would
 have worked as expected. The issue is that you switched the status but
 then didn't action on the status change. So I think it's just a matter of
 it neglecting to look at the saved `changesetStatus` when currently is
 looking just at `selectedChangesetStatus`. It needs to account for both.

 Let me know if [attachment:42406.0.diff] fixes that issue for you.

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


More information about the wp-trac mailing list