• toddheitner

    (@toddheitner)


    I’ve been trying to track down something strange that’s started happening on my site and this plugin was one of the last I’d suspect of being the culprit, but it turns out it is. I’m hoping you can help me resolve this because this plugin is great and a critical part.

    For some reason if any page on my site is loaded in a frame (such as domain forwarding with masking), the page breaks out of the frame and redirects in the user’s address bar. I have clients that sometimes want to point a separate domain to their property listings but not have it be linked to the rest of their site. Because of this redirect, that’s no longer possible.

    I don’t see any option for disabling this, and I don’t see any reason why it would be happening.

    https://wordpress.org/plugins/wp-property/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter toddheitner

    (@toddheitner)

    I found in the code something that seems to be related to this issue. At the top of every page on the site, it has a section that begins with:
    /* <![CDATA[ */

    And one of the items is:
    iframe_enabled”:false

    So apparently this is a built-in feature but I don’t see any way to disable it.

    Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    Hello,toddheitner

    You can use filter ‘wpp::get_instance’ to set iframe_enabled = true
    For more details, see WPP_Core::get_instance() method in core/class_core.php

    Regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Strange redirects happening’ is closed to new replies.