diff --git bp-core/admin/bp-core-schema.php bp-core/admin/bp-core-schema.php
index 53a4ceb..3db4c1c 100644
|
|
function bp_core_install( $active_components = false ) { |
52 | 52 | bp_core_install_blog_tracking(); |
53 | 53 | |
54 | 54 | // Install the signups table |
55 | | if ( bp_get_signup_allowed() ) |
56 | | bp_core_install_signups(); |
| 55 | bp_core_install_signups(); |
57 | 56 | |
58 | 57 | } |
59 | 58 | |
diff --git bp-core/bp-core-update.php bp-core/bp-core-update.php
index 6c59538..d388c26 100644
|
|
function bp_update_to_2_0() { |
351 | 351 | |
352 | 352 | /** Migrate signups data *********************************************/ |
353 | 353 | |
354 | | if ( bp_get_signup_allowed() && ! is_multisite() ) { |
| 354 | if ( ! is_multisite() ) { |
355 | 355 | |
356 | 356 | if ( empty( $wpdb->signups ) ) { |
357 | 357 | bp_core_install_signups(); |
diff --git bp-members/bp-members-admin.php bp-members/bp-members-admin.php
index 74b80d2..3a07766 100644
|
|
class BP_Members_Admin { |
162 | 162 | |
163 | 163 | /** Signups **************************************************************/ |
164 | 164 | |
165 | | if ( bp_get_signup_allowed() && is_admin() ) { |
| 165 | if ( is_admin() ) { |
166 | 166 | if ( ! is_multisite() ) { |
167 | 167 | add_action( 'pre_user_query', array( $this, 'remove_signups_from_user_query'), 10, 1 ); |
168 | 168 | } |
… |
… |
class BP_Members_Admin { |
194 | 194 | array( &$this, 'user_admin' ) |
195 | 195 | ); |
196 | 196 | |
197 | | // Manage signups if allowed |
198 | | if ( bp_get_signup_allowed() ) { |
199 | | $hooks['signups'] = $this->signups_page = add_users_page( |
200 | | __( 'Manage Signups', 'buddypress' ), |
201 | | __( 'Manage Signups', 'buddypress' ), |
202 | | $this->capability, |
203 | | 'bp-signups', |
204 | | array( &$this, 'signups_admin' ) |
205 | | ); |
206 | | } |
| 197 | // Manage signups |
| 198 | $hooks['signups'] = $this->signups_page = add_users_page( |
| 199 | __( 'Manage Signups', 'buddypress' ), |
| 200 | __( 'Manage Signups', 'buddypress' ), |
| 201 | $this->capability, |
| 202 | 'bp-signups', |
| 203 | array( &$this, 'signups_admin' ) |
| 204 | ); |
207 | 205 | |
208 | 206 | $edit_page = 'user-edit'; |
209 | 207 | $this->users_page = 'users'; |