Changeset 4219 for trunk/bbp-admin/bbp-users.php
- Timestamp:
- 09/11/2012 10:00:59 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bbp-admin/bbp-users.php
r4192 r4219 52 52 // User profile edit/display actions 53 53 add_action( 'edit_user_profile', array( $this, 'user_profile_forums' ) ); 54 add_action( 'show_user_profile', array( $this, 'user_profile_forums' ) );55 54 56 55 // User profile save actions 57 add_action( 'personal_options_update', array( $this, 'user_profile_update' ) );58 56 add_action( 'edit_user_profile_update', array( $this, 'user_profile_update' ) ); 57 58 // Noop WordPress additional caps output area 59 add_filter( 'additional_capabilities_display', '__return_false' ); 59 60 } 60 61 … … 155 156 // Bail if current user cannot edit users 156 157 if ( ! current_user_can( 'edit_user', $profileuser->ID ) ) 157 return; 158 159 // Noop WordPress additional caps output area 160 add_filter( 'additional_capabilities_display', '__return_false' ); ?> 158 return; ?> 161 159 162 160 <h3><?php _e( 'Forum Capabilities', 'bbpress' ); ?></h3>
Note: See TracChangeset
for help on using the changeset viewer.