Replies: 0
Currently this check is in place:
// don’t redirect theme customizer (WP 3.4)
if ( isset( $_POST[‘customize’] ) && isset( $_POST[‘theme’] ) && $_POST[‘customize’] == ‘on’ )
return;
This doesn’t work, and you’re redirected to the mapped domain. This obviously causes issues with CORS.
Instead, something like this should be done:
// don’t redirect theme customizer (WP 3.4)
if ( is_customize_preview() )
return;
My settings for reference:
https://screencast.com/t/4EqIDpGQyR
- This topic was modified 1 day, 2 hours ago by joshftribus.