[wp-trac] [WordPress Trac] #39128: Customize: Preview fails to load when domain mapping in use (home/siteurl domain mismatch)

WordPress Trac noreply at wordpress.org
Mon Apr 10 00:07:38 UTC 2017


#39128: Customize: Preview fails to load when domain mapping in use (home/siteurl
domain mismatch)
--------------------------+-----------------------
 Reporter:  RomainVB      |       Owner:
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  4.7.4
Component:  Customize     |     Version:  4.7
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+-----------------------

Comment (by westonruter):

 @genevish-graphics the
 [https://gist.github.com/westonruter/a9c6841ba7f28192e3eb7d90c9316e75
 workaround plugin] is designed to only rewrite the site's URL to match the
 admin URL only in the context of the customizer. If the user is not in the
 customizer, it should have no effect and it shouldn't make any permanent
 changes. As always, the code is licensed GPL v2, so there is no warranty
 or guarantee. It is always best to test out new plugins on a staging
 environment and not on your live production environment.

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


More information about the wp-trac mailing list