[wp-trac] [WordPress Trac] #11682: wp_list_comments with callback argument add plethora HTML tag

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 1 11:09:31 UTC 2010


#11682: wp_list_comments with callback argument add plethora HTML tag
--------------------------+-------------------------------------------------
 Reporter:  pavolzetor    |        Owner:         
     Type:  defect (bug)  |       Status:  closed 
 Priority:  normal        |    Milestone:         
Component:  Comments      |      Version:  2.9    
 Severity:  normal        |   Resolution:  invalid
 Keywords:                |  
--------------------------+-------------------------------------------------
Changes (by dd32):

  * status:  new => closed
  * resolution:  => invalid
  * milestone:  Unassigned =>


Comment:

 Thats due to the way nested comments are handled.

 You also need to define 'end-callback' for the closing tag. The 'callback'
 function should NOT close the item, end-callback does that, to allow for
 nested comments to be within the comment div/ul/etc.

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


More information about the wp-trac mailing list