WordPress.org

Making WordPress.org

Changeset 1793


Ignore:
Timestamp:
07/28/2015 05:04:56 AM (6 years ago)
Author:
dd32
Message:

Use the correct GlotPress table prefix in the GlotPress translation plugin so it actually works

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/glotpress-translate-bridge/glotpress-translate-bridge.php

    r1774 r1793  
    133133        $translation = $wpdb->get_row(
    134134            "SELECT t.translation_0, t.translation_1, t.translation_2, t.translation_3, t.translation_4, t.translation_5
    135                 FROM translate_projects p
    136                 LEFT JOIN translate_originals o ON p.id = o.project_id
    137                 LEFT JOIN translate_translation_sets s ON p.id = s.project_id
    138                 LEFT JOIN translate_translations t ON t.original_id = o.id AND t.translation_set_id = s.id
     135                FROM {$this->gp_prefix}projects p
     136                LEFT JOIN {$this->gp_prefix}originals o ON p.id = o.project_id
     137                LEFT JOIN {$this->gp_prefix}translation_sets s ON p.id = s.project_id
     138                LEFT JOIN {$this->gp_prefix}translations t ON t.original_id = o.id AND t.translation_set_id = s.id
    139139
    140140            WHERE
Note: See TracChangeset for help on using the changeset viewer.