Posts Tagged Wordpress 2.7

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.

, ,

4 Comments

Upgrading to WordPress 2.7 beta 3

Today a mixture of boredom and curiousity compelled me to take the plunge with WordPress 2.7 beta.  Humorously, I did two upgrades today. By the time I had installed WordPress 2.7 beta 2, beta 3 was released.

The upgrade process was extremely smooth and I experienced no major problems.  It’s a follow the instructions type of upgrade.  This is even easier in WordPress 2.7 as upgrade functionality is now built in. (Go to Tools -> Update)

As WordPress 2.7 has backwards compatibility with themes built for previous versions, I had no issues on that front either. The hardest part was implementing new features, like comment threading.  I found this guide to be very helpful.

This is not the easiest process. Most likely you’re going to be upgrading a theme you didn’t write (as I was) so go through these instructions carefully. I somehow managed to finish them with no major set backs but some of it was just guess work.  I finished by changing some styling on the comment threading, implementing an arrow icon (Arrow) and playing with the size of the textarea for comments. (I had to change it to a relative width due to the inline replies)

The process was simple enough that I would recommend advanced users give it a go.  Let me know what issues you run into.

,

2 Comments