$comment global var is not set when wp_list_comments is called with callback function
|Reported by:||sirzooro||Owned by:||ryan|
Many comments-related functions (mainly template ones) uses comment object stored in global variable $comment, when they are called without parameters. However when you try to use wp_list_comments() with custom callback function, this is not true. Currently template authors have to either set this global var in their callback functions, or explicitly pass comment object to functions like comment_text(). Attached path fixes this.