Timeline for Make wordpress admin failed login attempt return 401
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:37 | history | edited | CommunityBot |
replaced http://wordpress.stackexchange.com/ with https://wordpress.stackexchange.com/
|
|
Jan 18, 2017 at 1:25 | history | edited | Amit Rahav | CC BY-SA 3.0 |
updated answer and linked code repo for example
|
Dec 3, 2016 at 0:41 | history | bounty ended | CommunityBot | ||
Nov 25, 2016 at 13:06 | comment | added | alonisser | @amit-rahav thanks for answer, I suspect there is a bug in the code: Look like the 401 would be executed and sent only if there is an error on $username. But what if there is another error (Notably wrong password). Would it run? Or perhaps the variable the callback gets isn't really a username? Also: why do we also need $wp_query --> set_401() and does it even exist? | |
Nov 25, 2016 at 4:38 | comment | added | Pat J |
There doesn't appear to be a set_401() function in the WP_Query class, so this won't work, I'm afraid.
|
|
Nov 24, 2016 at 23:18 | history | answered | Amit Rahav | CC BY-SA 3.0 |