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

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 2 04:06:27 UTC 2010


#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:     
--------------------------+-------------------------------------------------
Changes (by dd32):

  * keywords:  needs-patch =>


Comment:

 The commit fixes the displayment of comments after the comment max_depth
 has been decreased, It does not attempt to validate the parent comment_ID
 or anything else.

 To quote the commit:
 {{{
         /**
          * This function operates the same as Walker::display_element(),
 with one small change.
          * Instead of elements being moved to the end of the listing when
 their threading reaches
          * $max_depth, the children are displayed inline.
          *
          * Example: max_depth = 2, with 5 levels of nested content.
          * 1
          *  1.1
          *    1.1.1
          *    1.1.1.1
          *    1.1.1.1.1
          *    1.1.2
          *    1.1.2.1
          * 2
          *  2.2
          *
          */
 }}}

 If anyone notices any issues, please let me know :)

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


More information about the wp-trac mailing list