Changeset 9616 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-routes/inc/routes/class-locale.php
- Timestamp:
- 03/22/2020 12:05:56 PM (5 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
r9299 r9616 8 8 use stdClass; 9 9 use WordPressdotorg\GlotPress\Rosetta_Roles\Plugin as Rosetta_Roles; 10 use WordPressdotorg\GlotPress\Routes\Plugin; 10 11 11 12 /** … … 129 130 ); 130 131 131 $contributors_count = wp_cache_get( 'contributors-count', 'wporg-translate' ); 132 if ( false === $contributors_count ) { 133 $contributors_count = array(); 134 } 132 $contributors_count = Plugin::get_contributors_count(); 135 133 136 134 $variants = $this->get_locale_variants( $locale_slug ); … … 183 181 $project_icon = $this->get_project_icon( $project, $sub_project, 64 ); 184 182 185 $contributors_count = wp_cache_get( 'contributors-count', 'wporg-translate' ); 186 if ( false === $contributors_count ) { 187 $contributors_count = array(); 188 } 183 $contributors_count = Plugin::get_contributors_count(); 189 184 190 185 $sub_project_statuses = array();
Note: See TracChangeset
for help on using the changeset viewer.