The comment functionality enhances quite a bit in WordPress 2.7. Additional to the possiblility to answer comments directly in your backend, there is also a threaded comment support available. Threaded comments enables users to reply on an exist comment, and the discussion will be displayed threaded or nested. Below you can see a screenshot from the default theme:
If you take a look into
comments.php, you will notice some alterations. A short “comment loop” was introduced
wp_list_comments() and it manages the complete output of comments. Here is the code:
<?php if ( have_comments() ) : ?> <ol class="commentlist"> <?php wp_list_comments($comments); ?> </ol> <?php else: ?> // some other code <?php endif; ?>
This purge the
comments.php immense. But it might be a disadvantage for theme authors, since they hardly have the possibility to change the output of comments. And that WordPress developers having their own vision of HTML and CSS is a common knowledge. Right now, we have to wait and see, since it’s an early version. It will be interesting how this develops.