[wp-trac] [WordPress Trac] #33663: Live Customizer Not working on Websites with No Iframe

WordPress Trac noreply at wordpress.org
Thu Sep 3 07:15:35 UTC 2015


#33663: Live Customizer Not working on Websites with No Iframe
--------------------------+----------------------
 Reporter:  surjithctly   |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Customize     |     Version:  3.4
 Severity:  normal        |  Resolution:  wontfix
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by westonruter):

 * keywords:  reporter-feedback =>
 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 OK, so what you need to do then is simply change this to:

 {{{#!js
 (function( window ) {
   var isCustomizePreview = ( typeof wp !== 'undefined' && typeof
 wp.customize !== 'undefined' );
   if ( ! isCustomizePreview && window.location !== window.top.location ) {
     window.top.location = window.location;
   }
 })( this );
 }}}

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


More information about the wp-trac mailing list