[wp-trac] Re: [WordPress Trac] #8841: Threaded comments display out of order if conditions are met.

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 17 18:28:41 GMT 2009


#8841: Threaded comments display out of order if conditions are met.
--------------------------+-------------------------------------------------
 Reporter:  clifgriffin   |       Owner:                     
     Type:  defect (bug)  |      Status:  new                
 Priority:  normal        |   Milestone:  2.8                
Component:  Comments      |     Version:  2.7                
 Severity:  normal        |    Keywords:  comments, threading
--------------------------+-------------------------------------------------

Comment(by GregMulhauser):

 Actually, it's somewhat worse than this -- the new comments code in 2.7
 has serious problems handling what I'll refer to as 'orphaned' comments,
 those where either 1) the parent comment has been deleted or 2) the
 orphaned comment was entered at a deeper depth than the depth currently
 specified in the discussion settings. (The admin situation described by
 clifgriffin falls under 2.)

 When comments are orphaned, not only will WP display them in the wrong
 order (unless threading is switched off completely -- which incidentally
 is different than setting depth to 1, in terms of its impact on this
 problem), but when a user attempts to reply to a comment that has been
 orphaned via parental deletion, WP also then redirects to a broken URL
 when the user completes their entry, due to further problems in the
 function which returns the page number of a comment. (Specifically, we get
 a URL ending in the form "comment-page-/#123", where "123" is the comment
 ID. Note the lack of any page number.)

 I realise this is long on symptoms and short on diagnosis -- and there are
 multiple problems going on here, which probably merits multiple detailed
 bug reports on exactly which functions are fouling things up and why. But
 I hope this adds something just to let folks know there's more than one
 problem afoot when it comes to comment walking...

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/8841#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list