mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-04 10:05:43 +03:00
Contributors: Standardize on team_names
field for consistency.
This commit is contained in:
parent
ccad917c00
commit
cd36902bb5
2 changed files with 3 additions and 3 deletions
|
@ -745,7 +745,7 @@ function add_user_data_to_xprofile( array $xprofiles ) : array {
|
|||
|
||||
$full_user['last_logged_in'] = intval( strtotime( $full_user['last_logged_in'] ?? '' ) ); // Convert `false` to `0`.
|
||||
$full_user['5ftf_last_inactivity_email'] = intval( $full_user['5ftf_last_inactivity_email'] ?? 0 );
|
||||
$full_user['teams_names'] = (array) maybe_unserialize( $xprofiles[ $user->ID ]->team_names );
|
||||
$full_user['team_names'] = (array) maybe_unserialize( $xprofiles[ $user->ID ]->team_names );
|
||||
|
||||
$full_users[] = $full_user;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue