Changeset 2119 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-routes/routes/wp-plugins.php
- Timestamp:
- 11/23/2015 08:12:18 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-routes/routes/wp-plugins.php
r2118 r2119 58 58 } 59 59 60 // If the plugin has only one sub-project something went wrong, likely a missing 61 // text domain which is why no 'code' projects will be created. 62 $has_error = count( $sub_projects ) < 2; 60 // Check if the plugin has at least one code project. These won't be created if a plugin 61 // has no text domain defined. 62 $sub_projects = array_keys( $sub_projects ); 63 $has_error = ( ! in_array( 'dev', $sub_projects ) && ! in_array( 'stable', $sub_projects ) ); 63 64 64 65 unset( $project_path, $locale_key, $rows, $set, $sub_project, $sub_projects );
Note: See TracChangeset
for help on using the changeset viewer.