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