Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Forum: Fixing WordPress
    In reply to: author permissions

    Forum: Fixing WordPress
    In reply to: author permissions

    You also need to edit the functions: user_can_edit_user() in the same file from:

    function user_can_edit_user($user_id, $other_user) {
    $user = get_userdata($user_id);
    $other = get_userdata($other_user);
    if ( $user->user_level > $other->user_level || $user->user_level > 8 ||
    $user->ID == $other->ID )
    return true;
    else
    return false;
    }

    to

    function user_can_edit_user($user_id, $other_user) {
    $user = get_userdata($user_id);
    $other = get_userdata($other_user);
    if ( $user->user_level >= $other->user_level || $user->user_level > 8 ||
    $user->ID == $other->ID )
    return true;
    else
    return false;
    }

Viewing 2 replies - 1 through 2 (of 2 total)