[wp-trac] [WordPress Trac] #41760: wp_list_comments callback params

WordPress Trac noreply at wordpress.org
Wed Aug 30 18:44:16 UTC 2017


#41760: wp_list_comments callback params
-------------------------+-----------------------------
 Reporter:  milana_cap   |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Comments     |    Version:
 Severity:  normal       |   Keywords:
  Focuses:  template     |
-------------------------+-----------------------------
 In `wp-includes/class-walker-comment.php`, methods `comment()` and
 `html5_comment()` have following order of @params: `$comment, $depth,
 $args`.

 However, when you try to modify comment markup using `callback` argument
 for `wp_list_comments()`, order of params is `$comment, $args, $depth`.

 Is it possible to make the same order of params?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41760>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list