Ticket #43695: 43695.patch
File 43695.patch, 947 bytes (added by , 3 years ago) |
---|
-
src/wp-includes/comment-template.php
2028 2028 * Displays a list of comments. 2029 2029 * 2030 2030 * Used in the comments.php template to list comments for a particular post. 2031 * 2031 * 2032 2032 * @since 2.7.0 2033 2033 * 2034 2034 * @see WP_Query->comments … … 2065 2065 * @param WP_Comment[] $comments Optional. Array of WP_Comment objects. 2066 2066 * @return void|string Void if 'echo' argument is true, or no comments to list. 2067 2067 * Otherwise, HTML list of comments. 2068 * 2069 * Note: While using the custom call back funciton the $args and $depth parameters will interchange. 2068 2070 */ 2069 2071 function wp_list_comments( $args = array(), $comments = null ) { 2070 2072 global $wp_query, $comment_alt, $comment_depth, $comment_thread_alt, $overridden_cpage, $in_comment_loop;