Making WordPress.org


Ignore:
Timestamp:
04/14/2016 04:14:55 PM (9 years ago)
Author:
ocean90
Message:

Translate: Don't include inactive projects in contributor stats.

Fixes #1663.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-routes/routes/locale.php

    r2866 r2954  
    323323            SELECT id
    324324            FROM {$wpdb->gp_projects}
    325             WHERE parent_project_id = %d
     325            WHERE
     326                parent_project_id = %d
     327                active = 1
    326328        ", $project->id ) );
    327329
     
    499501                    WHERE
    500502                        parent_project_id = %d AND
    501                         active = 1
     503                        AND active = 1
    502504                    ORDER BY id ASC
    503505                ", $project->id );
Note: See TracChangeset for help on using the changeset viewer.