Comments out of order in WordPress 2.7?


I have opened up a discussion on wordpress.org about comments getting out of order in WordPress 2.7.  So far, it seems to effect the zero level comments in threaded discussions. We have yet to trace it to a repeatable scenario, but the evidence is clear.  For example:

Comment 1 - Day 1
  Comment 5 - Day 2 (reply to Comment 1)
  Comment 7 - Day 4 (reply to Comment 1)
Comment 2 - Day 1
Comment 9 - Day 5
  Comment 10 - Day 6
Comment 3 - Day 2
  Comment 6 - Day 3 (reply to Comment 3)
    Comment 8 - Day 10 (reply to comment 6)
Comment 4 - Day 2

This is a fictional example but demonstrates the problems we’re seeing.  This may lead to a official bug trac.  If you have noticed this issue, please join the discussion.  We need more examples to figure out what is causing this.

Update:

Commenter Gh. Alex has figured out how to replicate this error on any post. From his comment on wordpress forums:

I have found a pattern for this problem.
1. Doesnt’t matter how many comments you have;
2. Doesnt’t matter what theme you have installed;
3. Comments show up in order if you disable threaded comments;

By default, most of the themes with threaded comments support have that “Reply” button removed when a comment reaches 3/4/5 (depending of your options) levels of comments. That’s great but how about the edit_comments.php section from the admin area? The reply link is still there even if you reach your selected number of levels.
So, if you reply to a comment that has reached the max numbers of comments, from the admin area, this comment will show up in the bottom of the page and messes everything up.
I’ve made a test post to see what i mean, i can easily replicate the problem.

Very sorry for my bad english, i hope you guys can understand what i have just said:)

Needless to say, we’ll be opening up a bug report with WordPress.

, ,

  1. #1 by Gh. Alex at January 11th, 2009

    Hi there
    I found a pattern for this problem. Check the WP-support Forum post.

  2. #3 by Boy70 at October 22nd, 2009

    Any recommendation on what to do and what not to do? ,

(will not be published)