[wp-trac] [WordPress Trac] #43064: wordpress on different port doesn't run customizer

WordPress Trac noreply at wordpress.org
Thu Jan 11 06:19:06 UTC 2018


#43064: wordpress on different port doesn't run customizer
--------------------------+-----------------------------
 Reporter:  tpaksu        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Customize     |    Version:  4.9.1
 Severity:  normal        |   Keywords:
  Focuses:  ui, template  |
--------------------------+-----------------------------
 Hi,

 When using BrowserSync to develop themes on a different port like 3000,
 the customizer control pane does show but the preview iframe contents are
 not loaded and Chrome devtools shows this message:

   Refused to display
 'http://wordpress.dev:3000/?customize_changeset_uuid=54b01da5-8dc3-4ff9-a3a2-3973cc2cbd22&customize_theme=rettica&customize_messenger_channel=preview-0'
 in a frame because an ancestor violates the following Content Security
 Policy directive: "frame-ancestors http://wordpress.dev".

 Is this related to the browser's iframe policies or can it be fixed within
 WordPress?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43064>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list