Changeset 12399 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-routes/inc/routes/class-locale.php
- Timestamp:
- 02/16/2023 12:43:07 PM (3 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
r11741 r12399 73 73 ) 74 74 // Add check to see if there are any waiting translations for this locale? 75 ) {75 ) { 76 76 $default_project_tab = 'wp'; 77 77 } … … 106 106 ) 107 107 ); 108 109 $data['project'] = $project; 110 $data['sub_projects'] = $paged_sub_projects['projects']; 111 $data['pages'] = $paged_sub_projects['pages']; 112 $data = apply_filters( 'gp_subprojects', $data ); 113 $paged_sub_projects['projects'] = $data['sub_projects']; 114 $paged_sub_projects['pages'] = $data['pages']; 108 115 109 116 if ( ! $paged_sub_projects ) { … … 591 598 } 592 599 600 $status = apply_filters( 'gp_get_project_status', $status, $project, $locale, $set_slug ); 601 if ( 0 != $status->sub_projects_count ) { 602 return $status; 603 } 604 593 605 $set = GP::$translation_set->by_project_id_slug_and_locale( 594 606 $project->id,
Note: See TracChangeset
for help on using the changeset viewer.