Making WordPress.org

Changeset 10445

Timestamp:
11/12/2020 06:44:58 AM (4 years ago)
Author:
dd32
Message:

Plugin Directory: i18n: Fix translations for uncached originals after r10442. Again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-i18n.php

    r10444 r10445  
    309309
    310310            $raw_translations = $wpdb->get_results( $wpdb->prepare(
    311                 'SELECT original_id, translation_0 FROM ' . GLOTPRESS_TABLE_PREFIX . 'translations WHERE original_id IN (' . implode( ', ', wp_list_pluck( $originals, 'id' ) ) . ') AND translation_set_id = %d AND status = %s',
     311                'SELECT original_id, translation_0 FROM ' . GLOTPRESS_TABLE_PREFIX . 'translations WHERE original_id IN (' . implode( ', ', ) ) . ') AND translation_set_id = %d AND status = %s',
    312312                $translation_set_id, 'current'
    313313            ) );
Note: See TracChangeset for help on using the changeset viewer.