Changeset 2453
- Timestamp:
- 03/17/2005 03:39:02 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions-post.php
r2442 r2453 355 355 $post_author_data = get_userdata($post_data['Author_ID']); 356 356 357 if ( ( $user_id == $post_author_data->ID)357 if ( (($user_id == $post_author_data->ID) && !($post_data['post_status'] == 'publish' && $author_data->user_level < 2)) 358 358 || ($author_data->user_level > $post_author_data->user_level) 359 359 || ($author_data->user_level >= 10) ) {
Note: See TracChangeset
for help on using the changeset viewer.