Changeset 12424
- Timestamp:
- 02/27/2023 01:54:42 AM (19 months ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/gp-translation-helpers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/gp-translation-helpers/helpers/helper-translation-discussion.php
r12405 r12424 580 580 'translation_id' => isset( $this->data['translation_id'] ) ? $this->data['translation_id'] : null, 581 581 'locale_slug' => $this->data['locale_slug'], 582 'original_permalink' => $this->data['original_permalink'] ,582 'original_permalink' => $this->data['original_permalink'] ?? false, 583 583 'original_id' => $this->data['original_id'], 584 584 'project' => $this->data['project'], -
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.