Ticket #3142: 3142-2.0.5.diff
| File 3142-2.0.5.diff, 586 bytes (added by , 20 years ago) |
|---|
-
wp-admin/user-edit.php
47 47 } 48 48 49 49 default: 50 include ('admin-header.php');51 52 50 $profileuser = new WP_User($user_id); 53 51 54 if (!current_user_can('edit_users')) $errors['head'] = __('You do not have permission to edit this user.'); 52 if (!current_user_can('edit_users')) { 53 die(__('You do not have permission to edit this user.')); 54 } 55 56 include ('admin-header.php'); 55 57 ?> 56 58 57 59 <?php if ( isset($_GET['updated']) ) : ?>
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)