Changeset 8196
- Timestamp:
- 03/29/2014 12:04:49 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/admin/bp-core-schema.php
r8119 r8196 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 } -
trunk/bp-core/bp-core-update.php
r8195 r8196 353 353 /** Migrate signups data **************************************************/ 354 354 355 if ( bp_get_signup_allowed() &&! is_multisite() ) {355 if ( ! is_multisite() ) { 356 356 357 357 if ( empty( $wpdb->signups ) ) { -
trunk/bp-members/bp-members-admin.php
r8195 r8196 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 ); … … 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';
Note: See TracChangeset
for help on using the changeset viewer.