[wp-trac] [WordPress Trac] #38833: Close button does not go to return URL after doing theme switch via customize-loader

WordPress Trac noreply at wordpress.org
Wed Nov 16 21:45:18 UTC 2016


#38833: Close button does not go to return URL after doing theme switch via
customize-loader
--------------------------+------------------
 Reporter:  westonruter   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.7
Component:  Customize     |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------
Changes (by westonruter):

 * keywords:   => has-patch


Comment:

 The problem is that the `customize-loader` is still active in the theme
 witch. The fix is simply to make sure we navigate to the new theme and
 clear out the `customize-loader` at the same time by using `top.location`
 instead of `window.location`.

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


More information about the wp-trac mailing list