Stats: Add self-sponsored hours and contributor counts.

Fixes #124

Some variables/keys to clarify their names, or makes them less verbose. See #198, #200.
This commit is contained in:
Ian Dunn 2022-08-03 14:50:16 -07:00
parent 967718263f
commit 9e4d322b3d
No known key found for this signature in database
GPG key ID: 99B971B50343CBCB
3 changed files with 113 additions and 40 deletions

View file

@ -367,6 +367,8 @@ function get_contributor_user_ids( $contributor_posts ) {
$wpdb->prepare( $query, $usernames )
);
$user_ids = array_map( 'absint', $user_ids );
return $user_ids;
}