Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Maya

    (@tdgu)

    Hi,
    We are checking into this issue, I’ll keep you updated when figured out.

    Thanks

    Plugin Contributor Maya

    (@tdgu)

    Hi,
    Can you confirm the following makes a fix for you?

    function login_url( $login_url, $redirect, $force_reauth )
                    {
                        $parse_login_url        =   parse_url ( $login_url );
                        $new_wp_login_php       =   $this->wph->functions->get_module_item_setting('new_wp_login_php');
                        
                        $login_url              =   home_url($new_wp_login_php, 'login');
                        if ( isset ( $parse_login_url['query'] )    &&   ! empty ( $parse_login_url['query'] ) )
                            $login_url .=   '?' .   $parse_login_url['query'];
                        
                        return $login_url;   
                    }

    The above should replace the same function in the file /wp-content/plugins/wp-hide-security-enhancer/modules/components/admin-new_wp_login_php.php near line 123

    Thanks

    Thread Starter absatzformat

    (@absatzformat)

    Hi @tdgu

    The replacement function is working for me.
    A single !empty($parse_login_url['query']) call should be enough tho.

    Thanks for your quick response!

    Kind regards.
    Johannes

    Plugin Contributor Maya

    (@tdgu)

    Hi,
    Thanks for the confirmation, that update will be included in the next plugin release.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘redirect_to parameter missing from login url’ is closed to new replies.