Alice Brosey
Forum Replies Created
-
Forum: Hacks
In reply to: wp_lostpassword_url redirect errors?I have done that… it works if it’s a correct username/email, but not on fail.
<form method="post" action="<?php echo site_url('wp-login.php?action=lostpassword', 'login_post') ?>" class="wp-user-form"> <div class="username"> <label for="user_login" class="hide"><?php _e('Username or Email'); ?>: </label> <input type="text" name="user_login" value="" size="20" id="user_login" tabindex="1001" /> </div> <div class="login_fields"> <?php do_action('login_form', 'resetpass'); ?> <input type="submit" name="user-submit" value="<?php _e('Reset my password'); ?>" class="user-submit" tabindex="1002" /> <?php $reset = $_GET['reset']; if($reset == true) { echo '<p>A message will be sent to your email address.</p>'; } ?> <input type="hidden" name="redirect_to" value="<?php echo $_SERVER['REQUEST_URI']; ?>?reset=true" /> <input type="hidden" name="user-cookie" value="1" /> </div> </form>
Forum: Hacks
In reply to: Options Page issues for pluginwell… nevermind. I’m not sure how I broke the plugin but I did a full reinstall of WP *and* the old, functioning, version of the plugin, which I should have done before posting, and it does still work in 3.4.2. So, ignore this (I don’t know how to delete it) and I’ll go through bit by bit my new code to figure out why the error is occurring.
Thank you thank you very much. I’m sorry for not being specific, it was the latest version of WP and the latest version of your plugin that was available at the moment I posted, through the plugin repository.
I downloaded that .zip and it did indeed fix the problem. Thank you very much for the quick response.