Strange redirection to wp-login.php when wrong username
-
Hello,
I’m using this plugin in some websites and works great.
However I’m trying to implement it in a new site and this is whats’s happening:
– widget in a sidebar (used in a single page only): works fine.
– widget in the top of all pages, which is included in a bootstrap modal: works fine when user/password are correct. But when password is wrong, or simply left blank and clicked login button, it redirects to /wp-login.php pagehere’s my code:
<a href="#" data-toggle="popover" data-placement="bottom">Login</a> <div id="popover_content_wrapper" style="display:none;"> <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('login')) : endif; ?> </div>
It’s really strange because if I remove style=”display:none;, then it works perfect, so it appears the problem is being hidden when the page loads?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Strange redirection to wp-login.php when wrong username’ is closed to new replies.