You can read about the wp_list_comments function here. The actual function is found in /wp-includes/comment-template.php.
its not about the wp_list_comments function, i know what it does. Maybe i shouldve removed that function for clarity. Its about the ol without any li or additional classes in comments.php but somehow it outputs the li and classes without me being able to modify it. SO i was wondering where those are coming from
<li>s and at least some of the classes are created by the comment() function in comment-template.php: https://core.trac.wordpress.org/browser/tags/4.1.1/src/wp-includes/comment-template.php#L1864
(@sheez44)
11 years ago
I am trying to customize my comments.php and i literally copied an pasted the comments.php file from twenty fifteen. However i dont understand how this code works. The code only implies an ordered list, but when i view it in chrome it has listitems, gravatars and alot of classes etc. So where do those classes comming from? I want to customize it to my liking.