?> <?php if (get_query_var('cpage') <= $thematic_comment_pages) { ?> <div id="comments-list-wrapper" class="comments"> <h3><?php printf($thematic_comment_count > 1 ? __(thematic_multiplecomments_text(), 'thematic') : __(thematic_singlecomment_text(), 'thematic'), $thematic_comment_count); ?> </h3> <ol id="comments-list" > <?php wp_list_comments(thematic_list_comments_arg()); ?> </ol> </div><!-- #comments-list-wrapper .comments --> <?php } ?> <?php // action hook for inserting content below #comments-list thematic_belowcommentslist(); ?> <?php
function test_thematic_comments_callback() { $this->expectOutputRegex('/(?!<article)./', wp_list_comments(thematic_list_comments_arg())); }
/** * Filter: list_comments_arg * * Removed for namespacing * * @deprecated 1.0 */ function list_comments_arg() { _deprecated_function(__FUNCTION__, '1.0', 'thematic_list_comments_arg()'); thematic_list_comments_arg(); }