Changeset 1873 for sites/trunk/translate.wordpress.org/includes/gp-plugins/wporg-log-warnings-to-slack.php
- Timestamp:
- 09/11/2015 07:21:33 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/translate.wordpress.org/includes/gp-plugins/wporg-log-warnings-to-slack.php
r1871 r1873 91 91 $project = GP::$project->get( $original->project_id ); 92 92 93 $project_name = $project->name; 94 do { 95 $parent_project = GP::$project->get( $project->parent_project_id ); 96 $project_name = $parent_project->name . ' - ' . $project_name; 97 } while ( $parent_project && $parent_project->parent_project_id ); 93 $project_name = $sub_project->name; 94 $parent_project_id = $project->parent_project_id; 95 while ( $parent_project_id ) { 96 $parent_project = GP::$project->get( $parent_project_id ); 97 $parent_project_id = $parent_project->parent_project_id; 98 $project_name = "{$parent_project->name} - {$project_name}"; 99 } 98 100 99 101 $project_url = gp_url_join( gp_url_public_root(), 'projects', $project->path, $set->locale, '/', $set->slug ) . '?filters[warnings]=yes&sort[by]=translation_date_added';
Note: See TracChangeset
for help on using the changeset viewer.