BigAndini
Forum Replies Created
-
Hi @pputzer, thank you for that hint, that solved our problem.
I’ve found a solution for the problem I had. The user needs to be logged in to watch my videos. Because of the login wordpress blocks the referrer. I’ve added this to my functions.php:
remove_action(‘login_init’, ‘send_frame_options_header’);
Additionally if admins should be able to watch such videos as well it’s possible to use this, too:
remove_action(‘admin_init’, ‘send_frame_options_header’);
This has been done for a reason, so information will be revealed to the other platforms where the referrer is sent to.
Maybe you want to build a option into your plugin to turn send_frame_options_header off in the separate inits.
Thank you for your fast answer.
Kind Regards
AndiHi,
thanks for your answer. This setting solves the use of session within thelib class of wpmu-lib which is used by custom sidebars.
However, there is another session key used called cs-explain in inc/class-custom-sidebars-explain.php. The session for that is started in line 71 if there is no session_id. I was not able to find a switch to turn that off.
I don’t know what exactly is explained here. From the code it looks like custom sidebars explains here how sidebars are replaced by the plugin. For productive system I think this is not needed. Correct me if I’m wrong.
Cheers
Andi