• For some reason, you can no longer autoblock usernames, because after you save all the line breaks are removed and each username is separated by a space.

    All of a sudden I’m having to go in and manually block every attempt to access my site with the username admin.

    Please fix this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • If you are able to access the files in your plugins folder, edit the file ‘auto-block.php‘, found in ‘plugins/ip-blacklist-cloud/‘ and replace the line

    $auto_block=sanitize_text_field($_POST['autoblock']);

    with

    $auto_block=$_POST['autoblock'];

    This will fix your problem. Unfortunately, the wordpress code ‘sanitize_text_field’ strips out the line feeds, carriage returns, etc. which is what is causing the problem. It’s not entirely necessary in this instance providing you don’t do anything silly with the text you enter in your auto block list.

    Hope this helps.

    Plugin Author Adiie9

    (@ad33lx)

    I have fixed the issue in new version. Please check and update your rating ??

    -Adeel

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Inability to autoblock usernames since recent update’ is closed to new replies.