Skip to content

palasthotel/a-little-more-secure

Repository files navigation

A little more secure

WordPress plugin that should protect wp-login.php form brute force attacks.

Custom security parameter

On wp-login.php there will be a JavaScript redirect if a specific GET parameter is missing. This paramter can be customized with the a_little_more_secure_get_param_name filter.

add_filter('a_little_more_secure_get_param_name', function($name){
    $name = "new_param_name";
    return $name;
});

Redirect waiting time

The waiting time for JavaScript redirect can be customized with the a_little_more_secure_redirect_wait_seconds filter.

add_filter('a_little_more_secure_redirect_wait_seconds', function($seconds){
    $seconds = 10;
    return $seconds;
});