Forum Replies Created

Viewing 1 replies (of 1 total)
  • I edited the user_can_edit_post function in the wp-includes/functions-post.php file in the standard WP 1.5 install to change the lines

    if ( ($user_id == $post_author_data->ID)
    || ($author_data->user_level > $post_author_data->user_level)
    || ($author_data->user_level >= 10) ) {
    return true;
    } else {
    return false;
    }

    to

    if ( ($user_id == $post_author_data->ID)
    || ($author_data->user_level >= $post_author_data->user_level)
    || ($author_data->user_level >= 10) ) {
    return true;
    } else {
    return false;
    }

    Notice the >= in the first user level compare.

Viewing 1 replies (of 1 total)