Missing core feature within your plugin, please add it, code attached
-
Hi, within your pulugin there is missing an action which is availalble in the main core.
See loginlockdown by the function ll_wp_authenticate_username_password, please add there the do_action as below:
function ll_wp_authenticate_username_password($user, $username, $password) {
if ( is_a($user, ‘WP_User’) ) { return $user; }do_action( ‘wp_login_failed’, $username );
if ( empty($username) || empty($password) ) {
This is needed to do “own” stuff, like write all failed logins to an logfile, to block users serverwide over multiple pages as example.
Thanks
Stefan
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Missing core feature within your plugin, please add it, code attached’ is closed to new replies.