Changeset 4512 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-routes/inc/routes/class-locale.php
- Timestamp:
- 12/11/2016 10:10:26 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-routes/inc/routes/class-locale.php
r4511 r4512 359 359 } 360 360 361 $editors = array_keys( $locale_contributors['editors'] ); 362 361 363 // Get the names of the contributors. 362 364 foreach ( $contributors as $contributor ) { 363 if ( isset( $locale_contributors['editors'][ $contributor->user_id ] ) ) {364 continue;365 }366 367 368 365 if ( isset( $locale_contributors['contributors'][ $contributor->user_id ] ) ) { 369 366 // Update last updated and counts per status. … … 394 391 'waiting_count' => $contributor->waiting_count, 395 392 'fuzzy_count' => $contributor->fuzzy_count, 393 'is_editor' => in_array( $user->ID, $editors ), 396 394 ); 397 395 } 398 unset( $contributors );396 unset( $contributors, $editors ); 399 397 400 398 uasort( $locale_contributors['contributors'], array( $this, '_sort_contributors_by_total_count_callback' ) );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)