Making WordPress.org

Changeset 6690


Ignore:
Timestamp:
02/18/2018 04:51:59 PM (6 years ago)
Author:
ocean90
Message:

Translate: Ignore the all-locales locale when retrieving stats about project contributors.

File:
1 edited

Legend:

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

    r3002 r6690  
    1111
    1212    /**
    13      * Prints stats about contributors of a specific project.
     13     * Retrieves stats about contributors of a specific project.
    1414     *
    1515     * @param GP_Project $project The project.
     
    3030                `user_id`, `locale`
    3131            FROM {$wpdb->wporg_translation_editors}
    32             WHERE `project_id` = %d
     32            WHERE `project_id` = %d AND `locale` != 'all-locales'
    3333        ", $project->id ), OBJECT );
    3434
Note: See TracChangeset for help on using the changeset viewer.