Patch for HTTPS issue with bookingform/login.php
-
Dear events-manager developers,
I’ve recently noticed the following issue with the events-manager plugin (version 5.6.6.1 with WordPress 4.6.1) on a server hosted at OVH (France) that serves pages in HTTPS:
The login form that is included in the page of each event contains a “redirect_to” field whose URL uses the HTTP protocol, not HTTPS. As a result, when clicking on the button “Se connecter”, the redirection does not work properly and this can be quite confusing for the users.
I’ve investigated a bit the code of this form and I would like to propose the patch below that I’ve successfully tested with our website, and which should be applicable for both environments: with HTTPS enabled or not.
https://gist.github.com/erikmd/c4bf8e98b616a4e0ba1180b63406d07d
Kind regards.
- The topic ‘Patch for HTTPS issue with bookingform/login.php’ is closed to new replies.