Changeset 8196 for trunk/bp-members/bp-members-admin.php
- Timestamp:
- 03/29/2014 12:04:49 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.