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

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 27 02:31:18 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):

 I found a fix: Disable javascript, then you can not reply to comments any
 longer in the admin. okay, jokes aside, wp_new_comment() in admin-ajax.php
 does not properly  check on comment_parent for the depth, it uses
 wp_insert_comment() w/o any additional depth checks. wp_insert_comment()
 is not doing any depth-checks as well before inserting the new comment
 into the database.

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


More information about the wp-trac mailing list