@tgwrr1,
I have found that Admin Commenters Comments Count is problematic at the best of times. Try doing this instead. Create a text file. You can call it what you want, so long as it ends with .php
Then paste in the code below, save, and upload to your mu-plugins
folder.
<?php
function count_user_comments( $userid ) {
global $wpdb;
$count = $wpdb->get_var(
'SELECT COUNT( comment_id ) FROM '. $wpdb->comments .'
WHERE user_id = '.$userid.'
AND comment_approved = "1"
AND comment_type NOT IN ("pingback", "trackback" )'
);
// handle no comments by user
if( $count === '0' ) $count = apply_filters( 'admin_no_user_comments', '0' );
return apply_filters('admin_get_user_comment_count', $count, $userid);
}
function add_comment_admin_column( $columns ) {
$columns['comment_count_by_user'] = 'Comments';
return $columns;
}
add_filter( 'manage_users_columns', 'add_comment_admin_column' );
function comment_count_content( $custom_column, $column_name, $user_id ) {
switch( $column_name ) {
case 'comment_count_by_user':
return count_user_comments( $user_id );
break;
}
}
add_action( 'manage_users_custom_column', 'comment_count_content', 10, 3 );