Making WordPress.org

Changeset 2064


Ignore:
Timestamp:
11/10/2015 01:11:42 AM (11 years ago)
Author:
dd32
Message:

Translate: Stats overview: Only active projects should be included in the counts on the stats page.

File:
1 edited

Legend:

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

    r2055 r2064  
    6161                                LEFT JOIN {$gpdb->prefix}projects p ON stats.project_id = p.id
    6262                        WHERE
    63                                 p.path IN ( $all_project_paths_sql )";
     63                                p.path IN ( $all_project_paths_sql )
     64                                AND p.active = 1";
    6465
    6566                $rows = $gpdb->get_results( $sql );
     
    9394                        WHERE
    9495                                p.parent_project_id IN ( $parent_project_ids )
     96                                AND p.active = 1
    9597                        GROUP BY locale, locale_slug";
    9698
Note: See TracChangeset for help on using the changeset viewer.