[Plugin: Simple Login Log] Small enhancement suggested on search feature
-
I find more useful to perform a search on part of username and/or IP address (that way, for example, I can see if different users use the same IP).
So I made the following change in line #453
was:
$where['filter'] = "user_login = '%{$_GET['filter']}%'";
becames:
$where['filter'] = "(user_login LIKE '%{$_GET['filter']}%' OR ip LIKE '%{$_GET['filter']}%')";
Notice that the number of returned results is limited to 20 (which is initial default value) and not the actual parametered value in screen option.
https://www.ads-software.com/extend/plugins/simple-login-log/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Simple Login Log] Small enhancement suggested on search feature’ is closed to new replies.