WordPress.org

Making WordPress.org


Ignore:
Timestamp:
02/28/2016 04:12:36 PM (5 years ago)
Author:
ocean90
Message:

Translate, Stats Overview: Sort WordPress projects by name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/translate.wordpress.org/includes/gp-plugins/wporg-routes/routes/stats-overview.php

    r2108 r2648  
    2323        // I'm sure there's somewhere to fetch these from statically defined
    2424        $wp_project = GP::$project->by_path('wp');
    25         foreach ( GP::$project->find_many( array( 'parent_project_id' => $wp_project->id, 'active' => 1 ) ) as $wp_sub_project ) {
     25        foreach ( GP::$project->find_many( array( 'parent_project_id' => $wp_project->id, 'active' => 1 ), 'name ASC' ) as $wp_sub_project ) {
    2626            // Prefix the WordPress projects...
    2727            $wp_sub_project->name = $wp_project->name . ' ' . $wp_sub_project->name;
Note: See TracChangeset for help on using the changeset viewer.