[SOLVED] Password Protected Pages - cannot sign in
I am unable to figure out what my problem is. I am hoping someone can help me.
I have several password protected pages that I have not visited since upgrading to Montezuma some time ago. They have worked in the past but no longer respond to the correct password. I probably should have tested them at the time but didn't. I have deactivated the theme with all plug-ins activated and the password protection works just fine. I have disabled all the plug-ins with Montezuma activated and the page is non-responsive again. The only modification I have made is to add the following to the functions.php: add_filter( 'the_password_form', 'custom_password_form' ); function custom_password_form() { global $post; $label = 'pwbox-'.( empty( $post->ID ) ? rand() : $post->ID ); $o = '<form class="protected-post-form" action="' . get_option('siteurl') . '/wp-pass.php" method="post"> ' . __( "Your files are only a password away.<br />Please use the password that was sent to you via email to access the goodies.<br /> <br />") . ' <label for="' . $label . '">' . __( "Password:" ) . ' </label><input name="post_password" id="' . $label . '" type="password" size="20" /><input type="submit" name="Submit" class="button" value="' . esc_attr__( "Submit" ) . '" /> </form><br /><p style="font-size:14px;margin:0px;">If you have misplaced your password, or need a new one, please <a href="http://domain/contact">contact us to get set up.</a></p> '; return $o; } Restoring the original functions.php makes no difference. Here is an example of an offending page: bit.ly/15jBEHt I have reset the password to "montezuma" Any ideas? |
What happens if you disable all plugins?
|
The problem persists with or without the plug-ins activated.
|
I just created a password protected page and it works fine, just as you would expect. I would suggest uploading a fresh copy of the theme to make sure you remove all the changes you made.
This looks like different users could have different passwords. How is that handled? |
I wish I could tell you what the problem was but reinstalling the theme did the trick.
Thanks for your help and a first rate theme. |
All times are GMT -6. The time now is 09:23 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.