Changeset 12424 for sites/trunk/wordpress.org/public_html/wp-content/plugins/gp-translation-helpers/includes/class-wporg-notifications.php
- Timestamp:
- 02/27/2023 01:54:42 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/gp-translation-helpers/includes/class-wporg-notifications.php
r12274 r12424 148 148 } 149 149 150 $user = get_user_by( 'email', $email ); 150 $user = get_user_by( 'email', $email ); 151 if ( $user ) { 151 152 return array( 152 153 'ID' => $user->ID, … … 157 158 'image_URL' => get_avatar_url( $user->ID ), 158 159 ); 160 } 161 162 return false; 159 163 }, 160 164 $all_email_addresses 161 165 ); 162 return $users; 166 167 $users = array_filter( $users ); 168 169 return $users; 163 170 }, 164 171 10,
Note: See TracChangeset
for help on using the changeset viewer.