Changeset 8341
- Timestamp:
- 02/24/2019 11:13:53 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-i18n.php
r7899 r8341 224 224 } 225 225 226 // The slug is optional, use 'default' as .. default. 227 list( $locale, $locale_slug ) = array_merge( explode( '/', $locale ), [ 'default' ] ); 228 226 229 $translation_set_id = $wpdb->get_var( $wpdb->prepare( 227 'SELECT id FROM ' . GLOTPRESS_TABLE_PREFIX . 'translation_sets WHERE project_id = %d AND locale = %s AND slug = "default"', 228 $branch_id, $locale 230 'SELECT id FROM ' . GLOTPRESS_TABLE_PREFIX . 'translation_sets WHERE project_id = %d AND locale = %s AND slug = %s', 231 $branch_id, 232 $locale, 233 $locale_slug 229 234 ) ); 230 235
Note: See TracChangeset
for help on using the changeset viewer.