The code in the theme seems innocent enough in that it simply passes control off to wp-login.php
- Code: Select all
<!-- Login Form -->
<form action="<?php echo site_url(); ?>/wp-login.php" method="post">
<div class="paneltitle">Member Login</div>
<label class="grey">Username:</label>
<input class="field" type="text" name="log" id="log" value="<?php if(isset($user_login)) echo esc_html(stripslashes($user_login), 1) ?>" size="23" />
<label class="grey">Password:</label>
<input class="field" type="password" name="pwd" id="pwd" size="23" />
<label><input name="rememberme" id="rememberme" type="checkbox" checked="checked" value="forever" /> Remember me</label>
<div class="clear"></div>
<input type="hidden" name="redirect_to" value="<?php echo curPageURL(); ?>"/>
<input type="submit" name="submit" value="Login" class="bt_login" /> <a class="lost-pwd" href="<?php echo site_url(); ?>/wp-login.php?action=lostpassword">Lost your password?</a>
</form>
Has anyone encountered this interaction before or had a similar circumstance for which Login Redirection fails to work?
Maybe I'm overlooking something... does anyone see a reason the above code segment would fail to trigger s2member's Login Redirection code?
I could really use some help/insight.