Yellow Swordfish said
So what has this got to do with blog comments? Is this relevant?
I have no idea what you mean here?
That said -- maybe it is a caching issue? However, I cleared all of the cache, not only what I had installed on WordPress, but also my Cloudflare cache (even though I have a rule setup not to cache the forums). No change.
Here is further proof, and I am open to ideas. If you go here: http://www.theblackvault.com/c.....es/page-2/
Look for this thread: 9/11 Conspiracy Theory That Jet Fuel Can't "Melt" Steel put to rest?
You will see the forum index said last updated a year ago, but if you enter the thread, specifically to here: http://www.theblackvault.com/c.....#p124063
You will see it was updated today...
So, what could be causing this?
For the record, I since added a "test" comment on the thread, and it popped right back to the top, without clearing cache or anything.
That said, it seems to be a bug (on my end) wherein the threaded reply does not get seen as the "latest" message when it comes to the date sorting.
SimplePress Version 184.108.40.206
Threading Version 1.9.2
One more thing I noticed after doing a test -- it seems like this bug occurred when a threaded reply was put on a post that was on the forum BEFORE I installed the Threading plugin.
I then posted a threaded reply on a post that was posted AFTER the Threading plugin was installed. And it worked ok.
Could this be the bug?
I asked about 'blog comments' simple because that is the title of this topic. One of the reasons we always feel it is better to start a new topic for a new problem rather than add to one that is mainly irrelevant.
Anyway - as to your last post above I think you have a point. That I can replicate so I am investigating the code.
Would you be able to try out a small code edit for me? test it on both old and new topics? If so then you would need to edit the file:
Locate the function:
and change the line of code:
$query->orderby = 'post_pinned DESC, thread_index ASC';
$query->orderby = 'post_pinned DESC, control_index ASC';
and let's see if that resolves it for you.
This will NOT resolve it for any existing topics that are wrong. However, you could go to the forum admin > toolbox > housekeeping and use the Rebuild Indexes tool on affected forums. Note that this task can take some time on a large forum.
Ok it appears that if I put a threaded reply in the final comment in the thread, it does NOT work. If I go to the second to the last comment in the thread, put a threaded reply, it works.
Any ideas with that?
Let's try it here again
That seemed to work just fine...?
And can you update me on my post above please? Are you able to make the change?
Yes, I did make the change as you suggested, and it's after that change where posting a reply to a final comment in a thread (one that's older than installing the Threading plugin) where it does not work. However, when I post it to an earlier comment in the same topic, it works.
I am unable to reproduce on either new or old topics at the moment,
I have asked for confirmation that the latest post problem is corrected however. Can you confirm this?