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

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 21 08:53:42 UTC 2009


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

Comment(by hakre):

 TO summarize: The datahandling for comments depth is broken. In every
 situation where comments can be added it must be checked wether or not
 that comment can be added. This has not been done consequently (which is a
 smell for code duplication) and that is why it is broken.

 I suggest that the comments API prevents adding comments which are not
 valid to be added. This might help as well that we do not need to review
 the whole code to find all places where this bug is in.

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


More information about the wp-trac mailing list