Index: /sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-user-badges/inc/class-plugin.php
===================================================================
--- /sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-user-badges/inc/class-plugin.php (revision 4988)
+++ /sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-user-badges/inc/class-plugin.php (revision 4989)
@@ -41,6 +41,8 @@
*/
private function __construct() {
- self::$plugins_table_prefix = 'wporg_' . WPORG_PLUGIN_DIRECTORY_BLOGID . '_';
- self::$themes_table_prefix = 'wporg_' . WPORG_THEME_DIRECTORY_BLOGID . '_';
+ global $wpdb;
+
+ self::$plugins_table_prefix = $wpdb->base_prefix . WPORG_PLUGIN_DIRECTORY_BLOGID . '_';
+ self::$themes_table_prefix = $wpdb->base_prefix . WPORG_THEME_DIRECTORY_BLOGID . '_';
add_action( 'bbp_loaded', array( $this, 'bbp_loaded' ) );