WordPress.org

Making WordPress.org

Changeset 2267


Ignore:
Timestamp:
01/11/2016 04:15:19 PM (3 years ago)
Author:
ocean90
Message:

Translate: Use correct variables for table names.

See #1352.

Location:
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-routes/routes
Files:
2 edited

Legend:

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

    r2109 r2267  
    4141                (100 * stats.current/stats.all) as percent_complete,
    4242                stats.waiting+stats.fuzzy as waiting_strings
    43             FROM {$wpdb->prefix}project_translation_status stats
    44                 LEFT JOIN {$wpdb->prefix}projects p ON stats.project_id = p.id
     43            FROM {$wpdb->project_translation_status} stats
     44                LEFT JOIN {$wpdb->gp_projects} p ON stats.project_id = p.id
    4545            WHERE
    4646                p.path IN ( $all_project_paths_sql )
     
    8080                locale, locale_slug,
    8181                SUM( stats.waiting ) + SUM( stats.fuzzy ) as waiting_strings
    82             FROM {$wpdb->prefix}project_translation_status stats
    83                 LEFT JOIN {$wpdb->prefix}projects p ON stats.project_id = p.id
     82            FROM {$wpdb->project_translation_status} stats
     83                LEFT JOIN {$wpdb->gp_projects} p ON stats.project_id = p.id
    8484            WHERE
    8585                p.parent_project_id IN ( $parent_project_ids )
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-routes/routes/wp-plugins.php

    r2119 r2267  
    1818                stats.waiting+stats.fuzzy as waiting_strings,
    1919                stats.untranslated as untranslated
    20             FROM {$wpdb->prefix}project_translation_status stats
    21                 LEFT JOIN {$wpdb->prefix}projects p ON stats.project_id = p.id
     20            FROM {$wpdb->project_translation_status} stats
     21                LEFT JOIN {$wpdb->gp_projects} p ON stats.project_id = p.id
    2222            WHERE
    2323                p.parent_project_id = '{$project->id}'
Note: See TracChangeset for help on using the changeset viewer.