Title: [Plugin: Audit Trail] Exclude Users Does Not Work
Last modified: August 19, 2016

---

# [Plugin: Audit Trail] Exclude Users Does Not Work

 *  [binaryeric](https://wordpress.org/support/users/binaryeric/)
 * (@binaryeric)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-audit-trail-exclude-users-does-not-work/)
 * When adding any users to the exclude list, there is no impact. I have added 4
   users to be ignored and they all appear in the audit trail along with all actions.
 * [http://wordpress.org/extend/plugins/audit-trail/](http://wordpress.org/extend/plugins/audit-trail/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [catseyegroup](https://wordpress.org/support/users/catseyegroup/)
 * (@catseyegroup)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-audit-trail-exclude-users-does-not-work/#post-1574106)
 * Yep, I’m finding the same thing happening…
 *  [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-audit-trail-exclude-users-does-not-work/#post-1574126)
 * 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.
 *  [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-audit-trail-exclude-users-does-not-work/#post-1574127)
 * 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;
       }
       ```
   
 *  [Palpatine1976](https://wordpress.org/support/users/palpatine1976/)
 * (@palpatine1976)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-audit-trail-exclude-users-does-not-work/#post-1574131)
 * This is definitely a bug in the plugin – but I noticed from [http://wordpress.org/support/topic/plugin-audit-trail-caution?replies=6](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.

 * ![](https://ps.w.org/audit-trail/assets/icon-256x256.jpg?rev=1030046)
 * [Audit Trail](https://wordpress.org/plugins/audit-trail/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/audit-trail/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/audit-trail/)
 * [Active Topics](https://wordpress.org/support/plugin/audit-trail/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/audit-trail/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/audit-trail/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [Palpatine1976](https://wordpress.org/support/users/palpatine1976/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-audit-trail-exclude-users-does-not-work/#post-1574131)
 * Status: not resolved