Support » Plugin: Audit Trail » [Plugin: Audit Trail] Exclude Users Does Not Work

Viewing 4 replies - 1 through 4 (of 4 total)
  • Yep, I’m finding the same thing happening…

    Yep. Really disappointing. I have a user that automatically updates thousands of posts every day through a cron job. I dont want this user to be tracked or it will fill the database quickly.

    Was able to hack the plugin into working.

    Added this code to line 166 in models/audit.php to fix.

    get_currentuserinfo();
    $ignored_users = explode(",", get_option('audit_ignore'));
    if (in_array($user_ID, $ignored_users)) {
    	return;
    }
    Twig

    (@palpatine1976)

    This is definitely a bug in the plugin – but I noticed from http://wordpress.org/support/topic/plugin-audit-trail-caution?replies=6 that a fix seems to be just terminating the “ignore users” string with a comma.

    I entered “1,13,” and saved the options – seems to now exclude activity from users 1 and 13.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Audit Trail] Exclude Users Does Not Work’ is closed to new replies.