Customizer doesn’t work when mapped domain is different.
-
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
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Customizer doesn’t work when mapped domain is different.’ is closed to new replies.