[wp-trac] Re: [WordPress Trac] #7956: get_comment_link() should be paged comments aware

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 28 00:05:16 GMT 2008


#7956: get_comment_link() should be paged comments aware
--------------------------+-------------------------------------------------
 Reporter:  Viper007Bond  |        Owner:     
     Type:  defect        |       Status:  new
 Priority:  high          |    Milestone:  2.7
Component:  Comments      |      Version:  2.7
 Severity:  normal        |   Resolution:     
 Keywords:                |  
--------------------------+-------------------------------------------------
Comment (by Viper007Bond):

 Must be the `while`. That's designed to keep getting the parent comment
 until it finds the one that has a parent value of `0`, i.e. the top level
 parent.

 I'm not sure why it's getting stuck in a loop through for you. It works
 fine here.

 Is there a case where a top level comment's `$comment->comment_parent`
 will not be `0`?

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7956#comment:12>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list