jkaluski
Forum Replies Created
-
Forum: Plugins
In reply to: [GuiForm] Test EmailMore info:
There are, in fact, 2 “To: ” fields in the message header.Return-path: <j[my_email]@[my_email].com>
Received: from jkaluski by ssd13.[host].com with local (Exim 4.82)
(envelope-from <j[my_email]@[my_email].com>)
id 1XROD5-0015X6-Th; Tue, 09 Sep 2014 12:24:03 -0400
To: j[my_email]@[my_email].com
Subject: asdf
X-PHP-Script: [site]/site/index.php for [xx.xx.xx.xx]
Date: Tue, 9 Sep 2014 16:24:03 +0000
To: j[my_email]@[my_email].com
From: j[my_email]@[my_email].com
Subject: asdfForum: Plugins
In reply to: [WordPress Access Control] No redirectionWP Version 3.8.2
WPAC Version 4.0.8I too was getting doubled subdirectory when default (blank) options for redirects were used. I found what zooguy was talking about. Went Here:
if (empty($redirect_to)) { if (empty($default_redirect)) { header('Location: ' . wp_login_url(site_url($_SERVER['REQUEST_URI']))); } else { header('Location: ' . add_query_arg('redirect_to', $_SERVER['REQUEST_URI'], $default_redirect)); } } else { header('Location: ' . add_query_arg('redirect_to', $_SERVER['REQUEST_URI'], $redirect_to)); }and replaced:
header('Location: ' . wp_login_url(site_url($_SERVER['REQUEST_URI'])));with:
header('Location: ' . wp_login_url($_SERVER['REQUEST_URI']));worked well for defaults.
Anything I put into the “Default Redirect For Members Only Pages”
causes a redirect loop and crashes it.