diff --git src/bp-core/classes/class-bp-invitation-manager.php src/bp-core/classes/class-bp-invitation-manager.php
index 904fe3e4e..e1bc7748e 100644
|
|
|
abstract class BP_Invitation_Manager { |
| 50 | 50 | * @return string |
| 51 | 51 | */ |
| 52 | 52 | public static function get_table_name() { |
| 53 | | return buddypress()->table_prefix . 'bp_invitations'; |
| | 53 | return buddypress()->members->table_name_invitations; |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | 56 | /** Create ********************************************************************/ |
diff --git src/bp-members/classes/class-bp-members-component.php src/bp-members/classes/class-bp-members-component.php
index fa9c0d0ef..4f0804f36 100644
|
|
|
class BP_Members_Component extends BP_Component { |
| 178 | 178 | 'global_tables' => array( |
| 179 | 179 | 'table_name_last_activity' => bp_core_get_table_prefix() . 'bp_activity', |
| 180 | 180 | 'table_name_signups' => $wpdb->base_prefix . 'signups', // Signups is a global WordPress table. |
| | 181 | 'table_name_invitations' => bp_core_get_table_prefix() . 'bp_invitations', |
| 181 | 182 | ) |
| 182 | 183 | ); |
| 183 | 184 | |