3.1-RC2-17330 doesn't adds extra classes to comments
-
Good morning,
I am developing a theme on 3.0.4 and in my comments.php I have this setup:<ol> <li <?php comment_class('comment'); ?>> <div></div> </li> </ol>
today I was testing the theme against the latest nightly and found out that
comment_class()
doesn’t print a lot of classes which used to be printed on 3.0.4
EG.
in 3.0.4 a simple subscriber user had:
<li class="comment byuser comment-author-test even depth-2 comment" id="comment-12">
while in revision 17330 the same subscriber user has:
<li class="comment even depth-2 comment" id="comment-16">
as you can see I have no way to discriminate the style of a subscriber from the style of a non-subscriber reader, it also doesn’t print the bypostauthor class no more so isn’t possible to make a comment by the post author look different from other comments..
I don’t understand if that’s a bug or a feature that still has to be implemented and will work on 3.1 final or maybe developers decided not tu put it in WP 3.1…
Let me know…
- The topic ‘3.1-RC2-17330 doesn't adds extra classes to comments’ is closed to new replies.