if ( !empty($r_status) ) {
                if ( !empty($q['perm'] ) && 'editable' == $q['perm'] && !current_user_can("edit_others_{$post_type_cap}s") )
                    $statuswheres[] = "($wpdb->posts.post_author = $user_ID " .  "AND (" . join( ' OR ', $r_status ) . "))";
                else
                    $statuswheres[] = "(" . join( ' OR ', $r_status ) . ")";