mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-07 03:05:44 +03:00
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:
parent
967718263f
commit
9e4d322b3d
3 changed files with 113 additions and 40 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue