[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
Thu Apr 20 17:58:42 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.5
Component: Customize | Version: 4.7
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+-----------------------
Comment (by westonruter):
@jordantrask WordPress adds the CSP header itself in
`WP_Customize_Manager:: filter_iframe_security_headers ()`:
https://github.com/xwp/wordpress-develop/blob/4.7.3/src/wp-includes/class-
wp-customize-manager.php#L1609
Is the ancestor frame not <https://domain.com>? What is the `src` of the
`iframe` that is being loaded? The workaround plugin is designed to make
the `home` URL and `siteurl` be the same.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39128#comment:67>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list