comments LEFT OUTER JOIN $wpdb->posts ON ($wpdb->comments.comment_post_ID = $wpdb->posts.ID) WHERE comment_approved = '1' AND comment_type = '' AND post_password = '' AND user_id = '".$current_user->ID."' ORDER BY comment_date_gmt DESC LIMIT 5"; $comments = $wpdb->get_results($sql); if ($comments) : echo ''; else : _e('You have not made any comment.', 'alimir'); endif; ?>