Admin in an iFrame (2 posts)

  1. vougie
    Posted 3 years ago #

    Hi everybody,

    I've some problems with WordPress and display the admin panel in an iframe. In the past I was able to access the admin panel through an iFrame from a different URL (https) than the blog itself. Since I updated to the latest version it is not possible any more, but hopefully I'll get some help.

    To be sure that no plugin is interfering I installed a fresh empty blog. Within the same URL I can access the admin area through an iFrame, fine. From a different URL I just get an empty white page.

    Modifying default-filters.php (line 258) to:

    //add_action( 'admin_init', 'send_frame_options_header', 10, 0 );

    is not working like in the past.

    I assume it's because of implementing X-Frame-Options. So I tried to modify functions.php (line 3515) to:

    @header( 'X-Frame-Options: ALLOW-FROM http://myDomain.net' );

    but as well without success.

    So my question: Is there any possibility to access the admin panel through an iFrame?
    And yes, I know of the security problems. That's why I wanted to modify the X-Frame settings..

    All the best
    - vougie

  2. vougie
    Posted 3 years ago #

    Does nobody have an idea?

    All the best

Topic Closed

This topic has been closed to new replies.

About this Topic