What browser and OS are you using?
I just tested in Firefox and Safari on Mac and the remember me feature worked.
I tested it with both Chrome and Edge on a PC and same thing on both. It even happens if I open a new tab and try to go to the site with it logged in on another tab.
I tested on a Mac as well and you’re right, even Chrome works without checking the “Remember me” box… Any idea why it would simply not work on a PC?
Have you tried testing on a different PC? Could it be something about your PC’s settings?
I’m not sure why my plugin would affect the login form/process -and- only on Windows machines. The plugin code only checks if you’re logged-in using the builtin WordPress function is_user_logged_in() and if that returns false – you’re redirected to the WordPress login URL.
https://developer.wordpress.org/reference/functions/is_user_logged_in/
After a bit of googling, I found a couple options you could try:
- If this isn’t a new WordPress install, but an upgrade to the new version; try replacing your wp-config.php file with a new one.
http://codex.wordpress.org/Editing_wp-config.php
- Delete cookies, empty browser cache, and quit and restart the browser. Sometimes this can clear odd login issues.
- Try adding the
www in front of the address; “it [might] force it to destroy a rogue cookie if their is one.”
Also, you could try using the browser or a password manager to remember your login credentials instead:
Thanks Kevin, tried the wp-config.php replacement and no love there. I may just have to have my users use a password manager. It’s quite an odd issue since it’s PC only (I’ve tried 3 different PCs and same thing).
Thank you.