Changeset 4945
- Timestamp:
- 02/19/2017 09:06:01 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-user-badges/inc/class-plugin.php
r4291 r4945 354 354 // Get users who have commit access. 355 355 $authors = $wpdb->get_col( $wpdb->prepare( 356 "SELECT user FROM plugin_2_svn_access WHERE `path` = %s",356 "SELECT user FROM " . PLUGINS_TABLE_PREFIX . "svn_access WHERE `path` = %s", 357 357 '/' . $slug 358 358 ) ); … … 396 396 // TODO: Change this when the Plugin Directory switches over to WordPress. 397 397 $contributors = $wpdb->get_var( $wpdb->prepare( 398 'SELECT meta_value FROM plugin_2_meta m LEFT JOIN plugin_2_topics t ON m.object_id = t.topic_id WHERE t.topic_slug = %s AND m.object_type = %s AND m.meta_key = %s',398 'SELECT meta_value FROM ' . PLUGINS_TABLE_PREFIX . 'meta m LEFT JOIN ' . PLUGINS_TABLE_PREFIX . 'topics t ON m.object_id = t.topic_id WHERE t.topic_slug = %s AND m.object_type = %s AND m.meta_key = %s', 399 399 $slug, 400 400 'bb_topic',
Note: See TracChangeset
for help on using the changeset viewer.