My ThreeWP Activity Monitor version: 2.9
On my list of activities in ThreeWP Activity Monitor, I found that users activity where showd as a “WordPress” activity e.g. “WordPress logged in to…”. But in fact, the WordPress was certain user. I fixed this with commenting lines:
if ( ! $this->cache[‘user’][$user_id] instanceof WP_User )
$this->cache[‘user’][$user_id] = new stdClass();
$this->cache[‘user’][$user_id]->user_login = ‘WordPress’;
in private function cache_user($user_id).
It seems like the value returned by the get_userdata function is not the instance of WP_User. Maybe authors could explain this or fix?
- The topic ‘'WordPress' user activity in ThreeWP Activity Monitor’ is closed to new replies.