Changeset 3601
- Timestamp:
- 11/13/2011 08:10:00 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-core-compatibility.php
r3600 r3601 1686 1686 1687 1687 // Only allow super admins on multisite to edit every user. 1688 if ( !is_user_logged_in() && ( ( is_multisite() && !current_user_can( 'manage_network_users' ) && ( $user->ID != bbp_get_current_user_id() ) && !apply_filters( 'enable_edit_any_user_configuration', true ) ) || !current_user_can( 'edit_user', $user->ID )) ) {1688 if ( !is_user_logged_in() || ( is_multisite() && !current_user_can( 'manage_network_users' ) && ( $user->ID != bbp_get_current_user_id() ) && !apply_filters( 'enable_edit_any_user_configuration', true ) ) || !current_user_can( 'edit_user', $user->ID ) ) { 1689 1689 wp_die( __( 'You do not have permission to edit this user.', 'bbpress' ) ); 1690 1690 }
Note: See TracChangeset
for help on using the changeset viewer.