wp_comment_reply

The timeline below displays how wordpress function wp_comment_reply has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 6.4

/**
 * Outputs the in-line comment reply-to form in the Comments list table.
 *
 * @since 2.7.0
 *
 * @global WP_List_Table $wp_list_table
 *
 * @param int    $position  Optional. The value of the 'position' input field. Default 1.
 * @param bool   $checkbox  Optional. The value of the 'checkbox' input field. Default false.
 * @param string $mode      Optional. If set to 'single', will use WP_Post_Comments_List_Table,
 *                          otherwise WP_Comments_List_Table. Default 'single'.
 * @param bool   $table_row Optional. Whether to use a table instead of a div element. Default true.
 */
function wp_comment_reply($position = 1, $checkbox = false, $mode = 'single', $table_row = true)
{
    global $wp_list_table;
    /**
     * Filters the in-line comment reply-to form output in the Comments
     * list table.
     *
     * Returning a non-empty value here will short-circuit display
     * of the in-line comment-reply form in the Comments list table,
     * echoing the returned value instead.
     *
     * @since 2.7.0
     *
     * @see wp_comment_reply()
     *
     * @param string $content The reply-to form content.
     * @param array  $args    An array of default args.
     */
    $content = apply_filters('wp_comment_reply', '', array('position' => $position, 'checkbox' => $checkbox, 'mode' => $mode));
    if (!empty($content)) {
        echo $content;
        return;
    }
    if (!$wp_list_table) {
        if ('single' === $mode) {
            $wp_list_table = _get_list_table('WP_Post_Comments_List_Table');
        } else {
            $wp_list_table = _get_list_table('WP_Comments_List_Table');
        }
    }
    ?>
<form method="get">
	<?php 
    if ($table_row) {
        ?>
<table style="display:none;"><tbody id="com-reply"><tr id="replyrow" class="inline-edit-row" style="display:none;"><td colspan="<?php 
        echo $wp_list_table->get_column_count();
        ?>" class="colspanchange">
<?php 
    } else {
        ?>
<div id="com-reply" style="display:none;"><div id="replyrow" style="display:none;">
<?php 
    }
    ?>
	<fieldset class="comment-reply">
	<legend>
		<span class="hidden" id="editlegend"><?php 
    _e('Edit Comment');
    ?></span>
		<span class="hidden" id="replyhead"><?php 
    _e('Reply to Comment');
    ?></span>
		<span class="hidden" id="addhead"><?php 
    _e('Add New Comment');
    ?></span>
	</legend>

	<div id="replycontainer">
	<label for="replycontent" class="screen-reader-text">
		<?php 
    /* translators: Hidden accessibility text. */
    _e('Comment');
    ?>
	</label>
	<?php 
    $quicktags_settings = array('buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close');
    wp_editor('', 'replycontent', array('media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings));
    ?>
	</div>

	<div id="edithead" style="display:none;">
		<div class="inside">
		<label for="author-name"><?php 
    _e('Name');
    ?></label>
		<input type="text" name="newcomment_author" size="50" value="" id="author-name" />
		</div>

		<div class="inside">
		<label for="author-email"><?php 
    _e('Email');
    ?></label>
		<input type="text" name="newcomment_author_email" size="50" value="" id="author-email" />
		</div>

		<div class="inside">
		<label for="author-url"><?php 
    _e('URL');
    ?></label>
		<input type="text" id="author-url" name="newcomment_author_url" class="code" size="103" value="" />
		</div>
	</div>

	<div id="replysubmit" class="submit">
		<p class="reply-submit-buttons">
			<button type="button" class="save button button-primary">
				<span id="addbtn" style="display: none;"><?php 
    _e('Add Comment');
    ?></span>
				<span id="savebtn" style="display: none;"><?php 
    _e('Update Comment');
    ?></span>
				<span id="replybtn" style="display: none;"><?php 
    _e('Submit Reply');
    ?></span>
			</button>
			<button type="button" class="cancel button"><?php 
    _e('Cancel');
    ?></button>
			<span class="waiting spinner"></span>
		</p>
		<?php 
    wp_admin_notice('<p class="error"></p>', array('type' => 'error', 'additional_classes' => array('notice-alt', 'inline', 'hidden'), 'paragraph_wrap' => false));
    ?>
	</div>

	<input type="hidden" name="action" id="action" value="" />
	<input type="hidden" name="comment_ID" id="comment_ID" value="" />
	<input type="hidden" name="comment_post_ID" id="comment_post_ID" value="" />
	<input type="hidden" name="status" id="status" value="" />
	<input type="hidden" name="position" id="position" value="<?php 
    echo $position;
    ?>" />
	<input type="hidden" name="checkbox" id="checkbox" value="<?php 
    echo $checkbox ? 1 : 0;
    ?>" />
	<input type="hidden" name="mode" id="mode" value="<?php 
    echo esc_attr($mode);
    ?>" />
	<?php 
    wp_nonce_field('replyto-comment', '_ajax_nonce-replyto-comment', false);
    if (current_user_can('unfiltered_html')) {
        wp_nonce_field('unfiltered-html-comment', '_wp_unfiltered_html_comment', false);
    }
    ?>
	</fieldset>
	<?php 
    if ($table_row) {
        ?>
</td></tr></tbody></table>
	<?php 
    } else {
        ?>
</div></div>
	<?php 
    }
    ?>
</form>
	<?php 
}

WordPress Version: 6.2

/**
 * Outputs the in-line comment reply-to form in the Comments list table.
 *
 * @since 2.7.0
 *
 * @global WP_List_Table $wp_list_table
 *
 * @param int    $position  Optional. The value of the 'position' input field. Default 1.
 * @param bool   $checkbox  Optional. The value of the 'checkbox' input field. Default false.
 * @param string $mode      Optional. If set to 'single', will use WP_Post_Comments_List_Table,
 *                          otherwise WP_Comments_List_Table. Default 'single'.
 * @param bool   $table_row Optional. Whether to use a table instead of a div element. Default true.
 */
function wp_comment_reply($position = 1, $checkbox = false, $mode = 'single', $table_row = true)
{
    global $wp_list_table;
    /**
     * Filters the in-line comment reply-to form output in the Comments
     * list table.
     *
     * Returning a non-empty value here will short-circuit display
     * of the in-line comment-reply form in the Comments list table,
     * echoing the returned value instead.
     *
     * @since 2.7.0
     *
     * @see wp_comment_reply()
     *
     * @param string $content The reply-to form content.
     * @param array  $args    An array of default args.
     */
    $content = apply_filters('wp_comment_reply', '', array('position' => $position, 'checkbox' => $checkbox, 'mode' => $mode));
    if (!empty($content)) {
        echo $content;
        return;
    }
    if (!$wp_list_table) {
        if ('single' === $mode) {
            $wp_list_table = _get_list_table('WP_Post_Comments_List_Table');
        } else {
            $wp_list_table = _get_list_table('WP_Comments_List_Table');
        }
    }
    ?>
<form method="get">
	<?php 
    if ($table_row) {
        ?>
<table style="display:none;"><tbody id="com-reply"><tr id="replyrow" class="inline-edit-row" style="display:none;"><td colspan="<?php 
        echo $wp_list_table->get_column_count();
        ?>" class="colspanchange">
<?php 
    } else {
        ?>
<div id="com-reply" style="display:none;"><div id="replyrow" style="display:none;">
<?php 
    }
    ?>
	<fieldset class="comment-reply">
	<legend>
		<span class="hidden" id="editlegend"><?php 
    _e('Edit Comment');
    ?></span>
		<span class="hidden" id="replyhead"><?php 
    _e('Reply to Comment');
    ?></span>
		<span class="hidden" id="addhead"><?php 
    _e('Add new Comment');
    ?></span>
	</legend>

	<div id="replycontainer">
	<label for="replycontent" class="screen-reader-text">
		<?php 
    /* translators: Hidden accessibility text. */
    _e('Comment');
    ?>
	</label>
	<?php 
    $quicktags_settings = array('buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close');
    wp_editor('', 'replycontent', array('media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings));
    ?>
	</div>

	<div id="edithead" style="display:none;">
		<div class="inside">
		<label for="author-name"><?php 
    _e('Name');
    ?></label>
		<input type="text" name="newcomment_author" size="50" value="" id="author-name" />
		</div>

		<div class="inside">
		<label for="author-email"><?php 
    _e('Email');
    ?></label>
		<input type="text" name="newcomment_author_email" size="50" value="" id="author-email" />
		</div>

		<div class="inside">
		<label for="author-url"><?php 
    _e('URL');
    ?></label>
		<input type="text" id="author-url" name="newcomment_author_url" class="code" size="103" value="" />
		</div>
	</div>

	<div id="replysubmit" class="submit">
		<p class="reply-submit-buttons">
			<button type="button" class="save button button-primary">
				<span id="addbtn" style="display: none;"><?php 
    _e('Add Comment');
    ?></span>
				<span id="savebtn" style="display: none;"><?php 
    _e('Update Comment');
    ?></span>
				<span id="replybtn" style="display: none;"><?php 
    _e('Submit Reply');
    ?></span>
			</button>
			<button type="button" class="cancel button"><?php 
    _e('Cancel');
    ?></button>
			<span class="waiting spinner"></span>
		</p>
		<div class="notice notice-error notice-alt inline hidden">
			<p class="error"></p>
		</div>
	</div>

	<input type="hidden" name="action" id="action" value="" />
	<input type="hidden" name="comment_ID" id="comment_ID" value="" />
	<input type="hidden" name="comment_post_ID" id="comment_post_ID" value="" />
	<input type="hidden" name="status" id="status" value="" />
	<input type="hidden" name="position" id="position" value="<?php 
    echo $position;
    ?>" />
	<input type="hidden" name="checkbox" id="checkbox" value="<?php 
    echo $checkbox ? 1 : 0;
    ?>" />
	<input type="hidden" name="mode" id="mode" value="<?php 
    echo esc_attr($mode);
    ?>" />
	<?php 
    wp_nonce_field('replyto-comment', '_ajax_nonce-replyto-comment', false);
    if (current_user_can('unfiltered_html')) {
        wp_nonce_field('unfiltered-html-comment', '_wp_unfiltered_html_comment', false);
    }
    ?>
	</fieldset>
	<?php 
    if ($table_row) {
        ?>
</td></tr></tbody></table>
	<?php 
    } else {
        ?>
</div></div>
	<?php 
    }
    ?>
</form>
	<?php 
}

WordPress Version: 5.4

/**
 * Outputs the in-line comment reply-to form in the Comments list table.
 *
 * @since 2.7.0
 *
 * @global WP_List_Table $wp_list_table
 *
 * @param int    $position
 * @param bool   $checkbox
 * @param string $mode
 * @param bool   $table_row
 */
function wp_comment_reply($position = 1, $checkbox = false, $mode = 'single', $table_row = true)
{
    global $wp_list_table;
    /**
     * Filters the in-line comment reply-to form output in the Comments
     * list table.
     *
     * Returning a non-empty value here will short-circuit display
     * of the in-line comment-reply form in the Comments list table,
     * echoing the returned value instead.
     *
     * @since 2.7.0
     *
     * @see wp_comment_reply()
     *
     * @param string $content The reply-to form content.
     * @param array  $args    An array of default args.
     */
    $content = apply_filters('wp_comment_reply', '', array('position' => $position, 'checkbox' => $checkbox, 'mode' => $mode));
    if (!empty($content)) {
        echo $content;
        return;
    }
    if (!$wp_list_table) {
        if ('single' === $mode) {
            $wp_list_table = _get_list_table('WP_Post_Comments_List_Table');
        } else {
            $wp_list_table = _get_list_table('WP_Comments_List_Table');
        }
    }
    ?>
<form method="get">
	<?php 
    if ($table_row) {
        ?>
<table style="display:none;"><tbody id="com-reply"><tr id="replyrow" class="inline-edit-row" style="display:none;"><td colspan="<?php 
        echo $wp_list_table->get_column_count();
        ?>" class="colspanchange">
<?php 
    } else {
        ?>
<div id="com-reply" style="display:none;"><div id="replyrow" style="display:none;">
<?php 
    }
    ?>
	<fieldset class="comment-reply">
	<legend>
		<span class="hidden" id="editlegend"><?php 
    _e('Edit Comment');
    ?></span>
		<span class="hidden" id="replyhead"><?php 
    _e('Reply to Comment');
    ?></span>
		<span class="hidden" id="addhead"><?php 
    _e('Add new Comment');
    ?></span>
	</legend>

	<div id="replycontainer">
	<label for="replycontent" class="screen-reader-text"><?php 
    _e('Comment');
    ?></label>
	<?php 
    $quicktags_settings = array('buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close');
    wp_editor('', 'replycontent', array('media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings));
    ?>
	</div>

	<div id="edithead" style="display:none;">
		<div class="inside">
		<label for="author-name"><?php 
    _e('Name');
    ?></label>
		<input type="text" name="newcomment_author" size="50" value="" id="author-name" />
		</div>

		<div class="inside">
		<label for="author-email"><?php 
    _e('Email');
    ?></label>
		<input type="text" name="newcomment_author_email" size="50" value="" id="author-email" />
		</div>

		<div class="inside">
		<label for="author-url"><?php 
    _e('URL');
    ?></label>
		<input type="text" id="author-url" name="newcomment_author_url" class="code" size="103" value="" />
		</div>
	</div>

	<div id="replysubmit" class="submit">
		<p class="reply-submit-buttons">
			<button type="button" class="save button button-primary">
				<span id="addbtn" style="display: none;"><?php 
    _e('Add Comment');
    ?></span>
				<span id="savebtn" style="display: none;"><?php 
    _e('Update Comment');
    ?></span>
				<span id="replybtn" style="display: none;"><?php 
    _e('Submit Reply');
    ?></span>
			</button>
			<button type="button" class="cancel button"><?php 
    _e('Cancel');
    ?></button>
			<span class="waiting spinner"></span>
		</p>
		<div class="notice notice-error notice-alt inline hidden">
			<p class="error"></p>
		</div>
	</div>

	<input type="hidden" name="action" id="action" value="" />
	<input type="hidden" name="comment_ID" id="comment_ID" value="" />
	<input type="hidden" name="comment_post_ID" id="comment_post_ID" value="" />
	<input type="hidden" name="status" id="status" value="" />
	<input type="hidden" name="position" id="position" value="<?php 
    echo $position;
    ?>" />
	<input type="hidden" name="checkbox" id="checkbox" value="<?php 
    echo $checkbox ? 1 : 0;
    ?>" />
	<input type="hidden" name="mode" id="mode" value="<?php 
    echo esc_attr($mode);
    ?>" />
	<?php 
    wp_nonce_field('replyto-comment', '_ajax_nonce-replyto-comment', false);
    if (current_user_can('unfiltered_html')) {
        wp_nonce_field('unfiltered-html-comment', '_wp_unfiltered_html_comment', false);
    }
    ?>
	</fieldset>
	<?php 
    if ($table_row) {
        ?>
</td></tr></tbody></table>
	<?php 
    } else {
        ?>
</div></div>
	<?php 
    }
    ?>
</form>
	<?php 
}

WordPress Version: 5.2

/**
 * Outputs the in-line comment reply-to form in the Comments list table.
 *
 * @since 2.7.0
 *
 * @global WP_List_Table $wp_list_table
 *
 * @param int    $position
 * @param bool   $checkbox
 * @param string $mode
 * @param bool   $table_row
 */
function wp_comment_reply($position = 1, $checkbox = false, $mode = 'single', $table_row = true)
{
    global $wp_list_table;
    /**
     * Filters the in-line comment reply-to form output in the Comments
     * list table.
     *
     * Returning a non-empty value here will short-circuit display
     * of the in-line comment-reply form in the Comments list table,
     * echoing the returned value instead.
     *
     * @since 2.7.0
     *
     * @see wp_comment_reply()
     *
     * @param string $content The reply-to form content.
     * @param array  $args    An array of default args.
     */
    $content = apply_filters('wp_comment_reply', '', array('position' => $position, 'checkbox' => $checkbox, 'mode' => $mode));
    if (!empty($content)) {
        echo $content;
        return;
    }
    if (!$wp_list_table) {
        if ($mode == 'single') {
            $wp_list_table = _get_list_table('WP_Post_Comments_List_Table');
        } else {
            $wp_list_table = _get_list_table('WP_Comments_List_Table');
        }
    }
    ?>
<form method="get">
	<?php 
    if ($table_row) {
        ?>
<table style="display:none;"><tbody id="com-reply"><tr id="replyrow" class="inline-edit-row" style="display:none;"><td colspan="<?php 
        echo $wp_list_table->get_column_count();
        ?>" class="colspanchange">
<?php 
    } else {
        ?>
<div id="com-reply" style="display:none;"><div id="replyrow" style="display:none;">
<?php 
    }
    ?>
	<fieldset class="comment-reply">
	<legend>
		<span class="hidden" id="editlegend"><?php 
    _e('Edit Comment');
    ?></span>
		<span class="hidden" id="replyhead"><?php 
    _e('Reply to Comment');
    ?></span>
		<span class="hidden" id="addhead"><?php 
    _e('Add new Comment');
    ?></span>
	</legend>

	<div id="replycontainer">
	<label for="replycontent" class="screen-reader-text"><?php 
    _e('Comment');
    ?></label>
	<?php 
    $quicktags_settings = array('buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close');
    wp_editor('', 'replycontent', array('media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings));
    ?>
	</div>

	<div id="edithead" style="display:none;">
		<div class="inside">
		<label for="author-name"><?php 
    _e('Name');
    ?></label>
		<input type="text" name="newcomment_author" size="50" value="" id="author-name" />
		</div>

		<div class="inside">
		<label for="author-email"><?php 
    _e('Email');
    ?></label>
		<input type="text" name="newcomment_author_email" size="50" value="" id="author-email" />
		</div>

		<div class="inside">
		<label for="author-url"><?php 
    _e('URL');
    ?></label>
		<input type="text" id="author-url" name="newcomment_author_url" class="code" size="103" value="" />
		</div>
	</div>

	<div id="replysubmit" class="submit">
		<p class="reply-submit-buttons">
			<button type="button" class="save button button-primary">
				<span id="addbtn" style="display: none;"><?php 
    _e('Add Comment');
    ?></span>
				<span id="savebtn" style="display: none;"><?php 
    _e('Update Comment');
    ?></span>
				<span id="replybtn" style="display: none;"><?php 
    _e('Submit Reply');
    ?></span>
			</button>
			<button type="button" class="cancel button"><?php 
    _e('Cancel');
    ?></button>
			<span class="waiting spinner"></span>
		</p>
		<div class="notice notice-error notice-alt inline hidden">
			<p class="error"></p>
		</div>
	</div>

	<input type="hidden" name="action" id="action" value="" />
	<input type="hidden" name="comment_ID" id="comment_ID" value="" />
	<input type="hidden" name="comment_post_ID" id="comment_post_ID" value="" />
	<input type="hidden" name="status" id="status" value="" />
	<input type="hidden" name="position" id="position" value="<?php 
    echo $position;
    ?>" />
	<input type="hidden" name="checkbox" id="checkbox" value="<?php 
    echo $checkbox ? 1 : 0;
    ?>" />
	<input type="hidden" name="mode" id="mode" value="<?php 
    echo esc_attr($mode);
    ?>" />
	<?php 
    wp_nonce_field('replyto-comment', '_ajax_nonce-replyto-comment', false);
    if (current_user_can('unfiltered_html')) {
        wp_nonce_field('unfiltered-html-comment', '_wp_unfiltered_html_comment', false);
    }
    ?>
	</fieldset>
	<?php 
    if ($table_row) {
        ?>
</td></tr></tbody></table>
	<?php 
    } else {
        ?>
</div></div>
	<?php 
    }
    ?>
</form>
	<?php 
}

WordPress Version: 5.1

/**
 * Outputs the in-line comment reply-to form in the Comments list table.
 *
 * @since 2.7.0
 *
 * @global WP_List_Table $wp_list_table
 *
 * @param int    $position
 * @param bool   $checkbox
 * @param string $mode
 * @param bool   $table_row
 */
function wp_comment_reply($position = 1, $checkbox = false, $mode = 'single', $table_row = true)
{
    global $wp_list_table;
    /**
     * Filters the in-line comment reply-to form output in the Comments
     * list table.
     *
     * Returning a non-empty value here will short-circuit display
     * of the in-line comment-reply form in the Comments list table,
     * echoing the returned value instead.
     *
     * @since 2.7.0
     *
     * @see wp_comment_reply()
     *
     * @param string $content The reply-to form content.
     * @param array  $args    An array of default args.
     */
    $content = apply_filters('wp_comment_reply', '', array('position' => $position, 'checkbox' => $checkbox, 'mode' => $mode));
    if (!empty($content)) {
        echo $content;
        return;
    }
    if (!$wp_list_table) {
        if ($mode == 'single') {
            $wp_list_table = _get_list_table('WP_Post_Comments_List_Table');
        } else {
            $wp_list_table = _get_list_table('WP_Comments_List_Table');
        }
    }
    ?>
<form method="get">
	<?php 
    if ($table_row) {
        ?>
<table style="display:none;"><tbody id="com-reply"><tr id="replyrow" class="inline-edit-row" style="display:none;"><td colspan="<?php 
        echo $wp_list_table->get_column_count();
        ?>" class="colspanchange">
<?php 
    } else {
        ?>
<div id="com-reply" style="display:none;"><div id="replyrow" style="display:none;">
<?php 
    }
    ?>
	<fieldset class="comment-reply">
	<legend>
		<span class="hidden" id="editlegend"><?php 
    _e('Edit Comment');
    ?></span>
		<span class="hidden" id="replyhead"><?php 
    _e('Reply to Comment');
    ?></span>
		<span class="hidden" id="addhead"><?php 
    _e('Add new Comment');
    ?></span>
	</legend>

	<div id="replycontainer">
	<label for="replycontent" class="screen-reader-text"><?php 
    _e('Comment');
    ?></label>
	<?php 
    $quicktags_settings = array('buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close');
    wp_editor('', 'replycontent', array('media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings));
    ?>
	</div>

	<div id="edithead" style="display:none;">
		<div class="inside">
		<label for="author-name"><?php 
    _e('Name');
    ?></label>
		<input type="text" name="newcomment_author" size="50" value="" id="author-name" />
		</div>

		<div class="inside">
		<label for="author-email"><?php 
    _e('Email');
    ?></label>
		<input type="text" name="newcomment_author_email" size="50" value="" id="author-email" />
		</div>

		<div class="inside">
		<label for="author-url"><?php 
    _e('URL');
    ?></label>
		<input type="text" id="author-url" name="newcomment_author_url" class="code" size="103" value="" />
		</div>
	</div>

	<div id="replysubmit" class="submit">
		<p>
			<a href="#comments-form" class="save button button-primary alignright">
				<span id="addbtn" style="display: none;"><?php 
    _e('Add Comment');
    ?></span>
				<span id="savebtn" style="display: none;"><?php 
    _e('Update Comment');
    ?></span>
				<span id="replybtn" style="display: none;"><?php 
    _e('Submit Reply');
    ?></span>
			</a>
			<a href="#comments-form" class="cancel button alignleft"><?php 
    _e('Cancel');
    ?></a>
			<span class="waiting spinner"></span>
		</p>
		<br class="clear" />
		<div class="notice notice-error notice-alt inline hidden">
			<p class="error"></p>
		</div>
	</div>

	<input type="hidden" name="action" id="action" value="" />
	<input type="hidden" name="comment_ID" id="comment_ID" value="" />
	<input type="hidden" name="comment_post_ID" id="comment_post_ID" value="" />
	<input type="hidden" name="status" id="status" value="" />
	<input type="hidden" name="position" id="position" value="<?php 
    echo $position;
    ?>" />
	<input type="hidden" name="checkbox" id="checkbox" value="<?php 
    echo $checkbox ? 1 : 0;
    ?>" />
	<input type="hidden" name="mode" id="mode" value="<?php 
    echo esc_attr($mode);
    ?>" />
	<?php 
    wp_nonce_field('replyto-comment', '_ajax_nonce-replyto-comment', false);
    if (current_user_can('unfiltered_html')) {
        wp_nonce_field('unfiltered-html-comment', '_wp_unfiltered_html_comment', false);
    }
    ?>
	</fieldset>
	<?php 
    if ($table_row) {
        ?>
</td></tr></tbody></table>
	<?php 
    } else {
        ?>
</div></div>
	<?php 
    }
    ?>
</form>
	<?php 
}

WordPress Version: 4.9

/**
 * Outputs the in-line comment reply-to form in the Comments list table.
 *
 * @since 2.7.0
 *
 * @global WP_List_Table $wp_list_table
 *
 * @param int    $position
 * @param bool   $checkbox
 * @param string $mode
 * @param bool   $table_row
 */
function wp_comment_reply($position = 1, $checkbox = false, $mode = 'single', $table_row = true)
{
    global $wp_list_table;
    /**
     * Filters the in-line comment reply-to form output in the Comments
     * list table.
     *
     * Returning a non-empty value here will short-circuit display
     * of the in-line comment-reply form in the Comments list table,
     * echoing the returned value instead.
     *
     * @since 2.7.0
     *
     * @see wp_comment_reply()
     *
     * @param string $content The reply-to form content.
     * @param array  $args    An array of default args.
     */
    $content = apply_filters('wp_comment_reply', '', array('position' => $position, 'checkbox' => $checkbox, 'mode' => $mode));
    if (!empty($content)) {
        echo $content;
        return;
    }
    if (!$wp_list_table) {
        if ($mode == 'single') {
            $wp_list_table = _get_list_table('WP_Post_Comments_List_Table');
        } else {
            $wp_list_table = _get_list_table('WP_Comments_List_Table');
        }
    }
    ?>
<form method="get">
<?php 
    if ($table_row) {
        ?>
<table style="display:none;"><tbody id="com-reply"><tr id="replyrow" class="inline-edit-row" style="display:none;"><td colspan="<?php 
        echo $wp_list_table->get_column_count();
        ?>" class="colspanchange">
<?php 
    } else {
        ?>
<div id="com-reply" style="display:none;"><div id="replyrow" style="display:none;">
<?php 
    }
    ?>
	<fieldset class="comment-reply">
	<legend>
		<span class="hidden" id="editlegend"><?php 
    _e('Edit Comment');
    ?></span>
		<span class="hidden" id="replyhead"><?php 
    _e('Reply to Comment');
    ?></span>
		<span class="hidden" id="addhead"><?php 
    _e('Add new Comment');
    ?></span>
	</legend>

	<div id="replycontainer">
	<label for="replycontent" class="screen-reader-text"><?php 
    _e('Comment');
    ?></label>
	<?php 
    $quicktags_settings = array('buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close');
    wp_editor('', 'replycontent', array('media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings));
    ?>
	</div>

	<div id="edithead" style="display:none;">
		<div class="inside">
		<label for="author-name"><?php 
    _e('Name');
    ?></label>
		<input type="text" name="newcomment_author" size="50" value="" id="author-name" />
		</div>

		<div class="inside">
		<label for="author-email"><?php 
    _e('Email');
    ?></label>
		<input type="text" name="newcomment_author_email" size="50" value="" id="author-email" />
		</div>

		<div class="inside">
		<label for="author-url"><?php 
    _e('URL');
    ?></label>
		<input type="text" id="author-url" name="newcomment_author_url" class="code" size="103" value="" />
		</div>
	</div>

	<div id="replysubmit" class="submit">
		<p>
			<a href="#comments-form" class="save button button-primary alignright">
				<span id="addbtn" style="display: none;"><?php 
    _e('Add Comment');
    ?></span>
				<span id="savebtn" style="display: none;"><?php 
    _e('Update Comment');
    ?></span>
				<span id="replybtn" style="display: none;"><?php 
    _e('Submit Reply');
    ?></span>
			</a>
			<a href="#comments-form" class="cancel button alignleft"><?php 
    _e('Cancel');
    ?></a>
			<span class="waiting spinner"></span>
		</p>
		<br class="clear" />
		<div class="notice notice-error notice-alt inline hidden">
			<p class="error"></p>
		</div>
	</div>

	<input type="hidden" name="action" id="action" value="" />
	<input type="hidden" name="comment_ID" id="comment_ID" value="" />
	<input type="hidden" name="comment_post_ID" id="comment_post_ID" value="" />
	<input type="hidden" name="status" id="status" value="" />
	<input type="hidden" name="position" id="position" value="<?php 
    echo $position;
    ?>" />
	<input type="hidden" name="checkbox" id="checkbox" value="<?php 
    echo $checkbox ? 1 : 0;
    ?>" />
	<input type="hidden" name="mode" id="mode" value="<?php 
    echo esc_attr($mode);
    ?>" />
	<?php 
    wp_nonce_field('replyto-comment', '_ajax_nonce-replyto-comment', false);
    if (current_user_can('unfiltered_html')) {
        wp_nonce_field('unfiltered-html-comment', '_wp_unfiltered_html_comment', false);
    }
    ?>
	</fieldset>
<?php 
    if ($table_row) {
        ?>
</td></tr></tbody></table>
<?php 
    } else {
        ?>
</div></div>
<?php 
    }
    ?>
</form>
<?php 
}

WordPress Version: 4.7

/**
 * Outputs the in-line comment reply-to form in the Comments list table.
 *
 * @since 2.7.0
 *
 * @global WP_List_Table $wp_list_table
 *
 * @param int    $position
 * @param bool   $checkbox
 * @param string $mode
 * @param bool   $table_row
 */
function wp_comment_reply($position = 1, $checkbox = false, $mode = 'single', $table_row = true)
{
    global $wp_list_table;
    /**
     * Filters the in-line comment reply-to form output in the Comments
     * list table.
     *
     * Returning a non-empty value here will short-circuit display
     * of the in-line comment-reply form in the Comments list table,
     * echoing the returned value instead.
     *
     * @since 2.7.0
     *
     * @see wp_comment_reply()
     *
     * @param string $content The reply-to form content.
     * @param array  $args    An array of default args.
     */
    $content = apply_filters('wp_comment_reply', '', array('position' => $position, 'checkbox' => $checkbox, 'mode' => $mode));
    if (!empty($content)) {
        echo $content;
        return;
    }
    if (!$wp_list_table) {
        if ($mode == 'single') {
            $wp_list_table = _get_list_table('WP_Post_Comments_List_Table');
        } else {
            $wp_list_table = _get_list_table('WP_Comments_List_Table');
        }
    }
    ?>
<form method="get">
<?php 
    if ($table_row) {
        ?>
<table style="display:none;"><tbody id="com-reply"><tr id="replyrow" class="inline-edit-row" style="display:none;"><td colspan="<?php 
        echo $wp_list_table->get_column_count();
        ?>" class="colspanchange">
<?php 
    } else {
        ?>
<div id="com-reply" style="display:none;"><div id="replyrow" style="display:none;">
<?php 
    }
    ?>
	<fieldset class="comment-reply">
	<legend>
		<span class="hidden" id="editlegend"><?php 
    _e('Edit Comment');
    ?></span>
		<span class="hidden" id="replyhead"><?php 
    _e('Reply to Comment');
    ?></span>
		<span class="hidden" id="addhead"><?php 
    _e('Add new Comment');
    ?></span>
	</legend>

	<div id="replycontainer">
	<label for="replycontent" class="screen-reader-text"><?php 
    _e('Comment');
    ?></label>
	<?php 
    $quicktags_settings = array('buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close');
    wp_editor('', 'replycontent', array('media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings));
    ?>
	</div>

	<div id="edithead" style="display:none;">
		<div class="inside">
		<label for="author-name"><?php 
    _e('Name');
    ?></label>
		<input type="text" name="newcomment_author" size="50" value="" id="author-name" />
		</div>

		<div class="inside">
		<label for="author-email"><?php 
    _e('Email');
    ?></label>
		<input type="text" name="newcomment_author_email" size="50" value="" id="author-email" />
		</div>

		<div class="inside">
		<label for="author-url"><?php 
    _e('URL');
    ?></label>
		<input type="text" id="author-url" name="newcomment_author_url" class="code" size="103" value="" />
		</div>
	</div>

	<p id="replysubmit" class="submit">
	<a href="#comments-form" class="save button button-primary alignright">
	<span id="addbtn" style="display:none;"><?php 
    _e('Add Comment');
    ?></span>
	<span id="savebtn" style="display:none;"><?php 
    _e('Update Comment');
    ?></span>
	<span id="replybtn" style="display:none;"><?php 
    _e('Submit Reply');
    ?></span></a>
	<a href="#comments-form" class="cancel button alignleft"><?php 
    _e('Cancel');
    ?></a>
	<span class="waiting spinner"></span>
	<span class="error" style="display:none;"></span>
	</p>

	<input type="hidden" name="action" id="action" value="" />
	<input type="hidden" name="comment_ID" id="comment_ID" value="" />
	<input type="hidden" name="comment_post_ID" id="comment_post_ID" value="" />
	<input type="hidden" name="status" id="status" value="" />
	<input type="hidden" name="position" id="position" value="<?php 
    echo $position;
    ?>" />
	<input type="hidden" name="checkbox" id="checkbox" value="<?php 
    echo $checkbox ? 1 : 0;
    ?>" />
	<input type="hidden" name="mode" id="mode" value="<?php 
    echo esc_attr($mode);
    ?>" />
	<?php 
    wp_nonce_field('replyto-comment', '_ajax_nonce-replyto-comment', false);
    if (current_user_can('unfiltered_html')) {
        wp_nonce_field('unfiltered-html-comment', '_wp_unfiltered_html_comment', false);
    }
    ?>
	</fieldset>
<?php 
    if ($table_row) {
        ?>
</td></tr></tbody></table>
<?php 
    } else {
        ?>
</div></div>
<?php 
    }
    ?>
</form>
<?php 
}

WordPress Version: 4.6

/**
 * Outputs the in-line comment reply-to form in the Comments list table.
 *
 * @since 2.7.0
 *
 * @global WP_List_Table $wp_list_table
 *
 * @param int    $position
 * @param bool   $checkbox
 * @param string $mode
 * @param bool   $table_row
 */
function wp_comment_reply($position = 1, $checkbox = false, $mode = 'single', $table_row = true)
{
    global $wp_list_table;
    /**
     * Filters the in-line comment reply-to form output in the Comments
     * list table.
     *
     * Returning a non-empty value here will short-circuit display
     * of the in-line comment-reply form in the Comments list table,
     * echoing the returned value instead.
     *
     * @since 2.7.0
     *
     * @see wp_comment_reply()
     *
     * @param string $content The reply-to form content.
     * @param array  $args    An array of default args.
     */
    $content = apply_filters('wp_comment_reply', '', array('position' => $position, 'checkbox' => $checkbox, 'mode' => $mode));
    if (!empty($content)) {
        echo $content;
        return;
    }
    if (!$wp_list_table) {
        if ($mode == 'single') {
            $wp_list_table = _get_list_table('WP_Post_Comments_List_Table');
        } else {
            $wp_list_table = _get_list_table('WP_Comments_List_Table');
        }
    }
    ?>
<form method="get">
<?php 
    if ($table_row) {
        ?>
<table style="display:none;"><tbody id="com-reply"><tr id="replyrow" class="inline-edit-row" style="display:none;"><td colspan="<?php 
        echo $wp_list_table->get_column_count();
        ?>" class="colspanchange">
<?php 
    } else {
        ?>
<div id="com-reply" style="display:none;"><div id="replyrow" style="display:none;">
<?php 
    }
    ?>
	<fieldset class="comment-reply">
	<legend>
		<span class="hidden" id="editlegend"><?php 
    _e('Edit Comment');
    ?></span>
		<span class="hidden" id="replyhead"><?php 
    _e('Reply to Comment');
    ?></span>
		<span class="hidden" id="addhead"><?php 
    _e('Add new Comment');
    ?></span>
	</legend>

	<div id="replycontainer">
	<label for="replycontent" class="screen-reader-text"><?php 
    _e('Comment');
    ?></label>
	<?php 
    $quicktags_settings = array('buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close');
    wp_editor('', 'replycontent', array('media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings));
    ?>
	</div>

	<div id="edithead" style="display:none;">
		<div class="inside">
		<label for="author-name"><?php 
    _e('Name');
    ?></label>
		<input type="text" name="newcomment_author" size="50" value="" id="author-name" />
		</div>

		<div class="inside">
		<label for="author-email"><?php 
    _e('Email');
    ?></label>
		<input type="text" name="newcomment_author_email" size="50" value="" id="author-email" />
		</div>

		<div class="inside">
		<label for="author-url"><?php 
    _e('URL');
    ?></label>
		<input type="text" id="author-url" name="newcomment_author_url" class="code" size="103" value="" />
		</div>
	</div>

	<p id="replysubmit" class="submit">
	<a href="#comments-form" class="save button-primary alignright">
	<span id="addbtn" style="display:none;"><?php 
    _e('Add Comment');
    ?></span>
	<span id="savebtn" style="display:none;"><?php 
    _e('Update Comment');
    ?></span>
	<span id="replybtn" style="display:none;"><?php 
    _e('Submit Reply');
    ?></span></a>
	<a href="#comments-form" class="cancel button-secondary alignleft"><?php 
    _e('Cancel');
    ?></a>
	<span class="waiting spinner"></span>
	<span class="error" style="display:none;"></span>
	</p>

	<input type="hidden" name="action" id="action" value="" />
	<input type="hidden" name="comment_ID" id="comment_ID" value="" />
	<input type="hidden" name="comment_post_ID" id="comment_post_ID" value="" />
	<input type="hidden" name="status" id="status" value="" />
	<input type="hidden" name="position" id="position" value="<?php 
    echo $position;
    ?>" />
	<input type="hidden" name="checkbox" id="checkbox" value="<?php 
    echo $checkbox ? 1 : 0;
    ?>" />
	<input type="hidden" name="mode" id="mode" value="<?php 
    echo esc_attr($mode);
    ?>" />
	<?php 
    wp_nonce_field('replyto-comment', '_ajax_nonce-replyto-comment', false);
    if (current_user_can('unfiltered_html')) {
        wp_nonce_field('unfiltered-html-comment', '_wp_unfiltered_html_comment', false);
    }
    ?>
	</fieldset>
<?php 
    if ($table_row) {
        ?>
</td></tr></tbody></table>
<?php 
    } else {
        ?>
</div></div>
<?php 
    }
    ?>
</form>
<?php 
}

WordPress Version: 4.4

/**
 * Outputs the in-line comment reply-to form in the Comments list table.
 *
 * @since 2.7.0
 *
 * @global WP_List_Table $wp_list_table
 *
 * @param int    $position
 * @param bool   $checkbox
 * @param string $mode
 * @param bool   $table_row
 */
function wp_comment_reply($position = 1, $checkbox = false, $mode = 'single', $table_row = true)
{
    global $wp_list_table;
    /**
     * Filter the in-line comment reply-to form output in the Comments
     * list table.
     *
     * Returning a non-empty value here will short-circuit display
     * of the in-line comment-reply form in the Comments list table,
     * echoing the returned value instead.
     *
     * @since 2.7.0
     *
     * @see wp_comment_reply()
     *
     * @param string $content The reply-to form content.
     * @param array  $args    An array of default args.
     */
    $content = apply_filters('wp_comment_reply', '', array('position' => $position, 'checkbox' => $checkbox, 'mode' => $mode));
    if (!empty($content)) {
        echo $content;
        return;
    }
    if (!$wp_list_table) {
        if ($mode == 'single') {
            $wp_list_table = _get_list_table('WP_Post_Comments_List_Table');
        } else {
            $wp_list_table = _get_list_table('WP_Comments_List_Table');
        }
    }
    ?>
<form method="get">
<?php 
    if ($table_row) {
        ?>
<table style="display:none;"><tbody id="com-reply"><tr id="replyrow" class="inline-edit-row" style="display:none;"><td colspan="<?php 
        echo $wp_list_table->get_column_count();
        ?>" class="colspanchange">
<?php 
    } else {
        ?>
<div id="com-reply" style="display:none;"><div id="replyrow" style="display:none;">
<?php 
    }
    ?>
	<fieldset class="comment-reply">
	<legend>
		<span class="hidden" id="editlegend"><?php 
    _e('Edit Comment');
    ?></span>
		<span class="hidden" id="replyhead"><?php 
    _e('Reply to Comment');
    ?></span>
		<span class="hidden" id="addhead"><?php 
    _e('Add new Comment');
    ?></span>
	</legend>

	<div id="replycontainer">
	<label for="replycontent" class="screen-reader-text"><?php 
    _e('Comment');
    ?></label>
	<?php 
    $quicktags_settings = array('buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close');
    wp_editor('', 'replycontent', array('media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings));
    ?>
	</div>

	<div id="edithead" style="display:none;">
		<div class="inside">
		<label for="author-name"><?php 
    _e('Name');
    ?></label>
		<input type="text" name="newcomment_author" size="50" value="" id="author-name" />
		</div>

		<div class="inside">
		<label for="author-email"><?php 
    _e('Email');
    ?></label>
		<input type="text" name="newcomment_author_email" size="50" value="" id="author-email" />
		</div>

		<div class="inside">
		<label for="author-url"><?php 
    _e('URL');
    ?></label>
		<input type="text" id="author-url" name="newcomment_author_url" class="code" size="103" value="" />
		</div>
	</div>

	<p id="replysubmit" class="submit">
	<a href="#comments-form" class="save button-primary alignright">
	<span id="addbtn" style="display:none;"><?php 
    _e('Add Comment');
    ?></span>
	<span id="savebtn" style="display:none;"><?php 
    _e('Update Comment');
    ?></span>
	<span id="replybtn" style="display:none;"><?php 
    _e('Submit Reply');
    ?></span></a>
	<a href="#comments-form" class="cancel button-secondary alignleft"><?php 
    _e('Cancel');
    ?></a>
	<span class="waiting spinner"></span>
	<span class="error" style="display:none;"></span>
	</p>

	<input type="hidden" name="action" id="action" value="" />
	<input type="hidden" name="comment_ID" id="comment_ID" value="" />
	<input type="hidden" name="comment_post_ID" id="comment_post_ID" value="" />
	<input type="hidden" name="status" id="status" value="" />
	<input type="hidden" name="position" id="position" value="<?php 
    echo $position;
    ?>" />
	<input type="hidden" name="checkbox" id="checkbox" value="<?php 
    echo $checkbox ? 1 : 0;
    ?>" />
	<input type="hidden" name="mode" id="mode" value="<?php 
    echo esc_attr($mode);
    ?>" />
	<?php 
    wp_nonce_field('replyto-comment', '_ajax_nonce-replyto-comment', false);
    if (current_user_can('unfiltered_html')) {
        wp_nonce_field('unfiltered-html-comment', '_wp_unfiltered_html_comment', false);
    }
    ?>
	</fieldset>
<?php 
    if ($table_row) {
        ?>
</td></tr></tbody></table>
<?php 
    } else {
        ?>
</div></div>
<?php 
    }
    ?>
</form>
<?php 
}

WordPress Version: 3.1

/**
 * {@internal Missing Short Description}}
 *
 * @since 2.7.0
 *
 * @global WP_List_Table $wp_list_table
 *
 * @param int    $position
 * @param bool   $checkbox
 * @param string $mode
 * @param bool   $table_row
 */
function wp_comment_reply($position = 1, $checkbox = false, $mode = 'single', $table_row = true)
{
    global $wp_list_table;
    /**
     * Filter the in-line comment reply-to form output in the Comments
     * list table.
     *
     * Returning a non-empty value here will short-circuit display
     * of the in-line comment-reply form in the Comments list table,
     * echoing the returned value instead.
     *
     * @since 2.7.0
     *
     * @see wp_comment_reply()
     *
     * @param string $content The reply-to form content.
     * @param array  $args    An array of default args.
     */
    $content = apply_filters('wp_comment_reply', '', array('position' => $position, 'checkbox' => $checkbox, 'mode' => $mode));
    if (!empty($content)) {
        echo $content;
        return;
    }
    if (!$wp_list_table) {
        if ($mode == 'single') {
            $wp_list_table = _get_list_table('WP_Post_Comments_List_Table');
        } else {
            $wp_list_table = _get_list_table('WP_Comments_List_Table');
        }
    }
    ?>
<form method="get">
<?php 
    if ($table_row) {
        ?>
<table style="display:none;"><tbody id="com-reply"><tr id="replyrow" class="inline-edit-row" style="display:none;"><td colspan="<?php 
        echo $wp_list_table->get_column_count();
        ?>" class="colspanchange">
<?php 
    } else {
        ?>
<div id="com-reply" style="display:none;"><div id="replyrow" style="display:none;">
<?php 
    }
    ?>
	<div id="replyhead" style="display:none;"><h5><?php 
    _e('Reply to Comment');
    ?></h5></div>
	<div id="addhead" style="display:none;"><h5><?php 
    _e('Add new Comment');
    ?></h5></div>
	<div id="edithead" style="display:none;">
		<div class="inside">
		<label for="author"><?php 
    _e('Name');
    ?></label>
		<input type="text" name="newcomment_author" size="50" value="" id="author" />
		</div>

		<div class="inside">
		<label for="author-email"><?php 
    _e('E-mail');
    ?></label>
		<input type="text" name="newcomment_author_email" size="50" value="" id="author-email" />
		</div>

		<div class="inside">
		<label for="author-url"><?php 
    _e('URL');
    ?></label>
		<input type="text" id="author-url" name="newcomment_author_url" class="code" size="103" value="" />
		</div>
		<div style="clear:both;"></div>
	</div>

	<div id="replycontainer">
	<?php 
    $quicktags_settings = array('buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close');
    wp_editor('', 'replycontent', array('media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings));
    ?>
	</div>

	<p id="replysubmit" class="submit">
	<a href="#comments-form" class="save button-primary alignright">
	<span id="addbtn" style="display:none;"><?php 
    _e('Add Comment');
    ?></span>
	<span id="savebtn" style="display:none;"><?php 
    _e('Update Comment');
    ?></span>
	<span id="replybtn" style="display:none;"><?php 
    _e('Submit Reply');
    ?></span></a>
	<a href="#comments-form" class="cancel button-secondary alignleft"><?php 
    _e('Cancel');
    ?></a>
	<span class="waiting spinner"></span>
	<span class="error" style="display:none;"></span>
	<br class="clear" />
	</p>

	<input type="hidden" name="action" id="action" value="" />
	<input type="hidden" name="comment_ID" id="comment_ID" value="" />
	<input type="hidden" name="comment_post_ID" id="comment_post_ID" value="" />
	<input type="hidden" name="status" id="status" value="" />
	<input type="hidden" name="position" id="position" value="<?php 
    echo $position;
    ?>" />
	<input type="hidden" name="checkbox" id="checkbox" value="<?php 
    echo $checkbox ? 1 : 0;
    ?>" />
	<input type="hidden" name="mode" id="mode" value="<?php 
    echo esc_attr($mode);
    ?>" />
	<?php 
    wp_nonce_field('replyto-comment', '_ajax_nonce-replyto-comment', false);
    if (current_user_can('unfiltered_html')) {
        wp_nonce_field('unfiltered-html-comment', '_wp_unfiltered_html_comment', false);
    }
    if ($table_row) {
        ?>
</td></tr></tbody></table>
<?php 
    } else {
        ?>
</div></div>
<?php 
    }
    ?>
</form>
<?php 
}

WordPress Version: 4.3

/**
 * {@internal Missing Short Description}}
 *
 * @since 2.7.0
 *
 * @global WP_List_Table $wp_list_table
 *
 * @param int    $position
 * @param bool   $checkbox
 * @param string $mode
 * @param bool   $table_row
 */
function wp_comment_reply($position = 1, $checkbox = false, $mode = 'single', $table_row = true)
{
    global $wp_list_table;
    /**
     * Filter the in-line comment reply-to form output in the Comments
     * list table.
     *
     * Returning a non-empty value here will short-circuit display
     * of the in-line comment-reply form in the Comments list table,
     * echoing the returned value instead.
     *
     * @since 2.7.0
     *
     * @see wp_comment_reply()
     *
     * @param string $content The reply-to form content.
     * @param array  $args    An array of default args.
     */
    $content = apply_filters('wp_comment_reply', '', array('position' => $position, 'checkbox' => $checkbox, 'mode' => $mode));
    if (!empty($content)) {
        echo $content;
        return;
    }
    if (!$wp_list_table) {
        if ($mode == 'single') {
            $wp_list_table = _get_list_table('WP_Post_Comments_List_Table');
        } else {
            $wp_list_table = _get_list_table('WP_Comments_List_Table');
        }
    }
    ?>
<form method="get">
<?php 
    if ($table_row) {
        ?>
<table style="display:none;"><tbody id="com-reply"><tr id="replyrow" style="display:none;"><td colspan="<?php 
        echo $wp_list_table->get_column_count();
        ?>" class="colspanchange">
<?php 
    } else {
        ?>
<div id="com-reply" style="display:none;"><div id="replyrow" style="display:none;">
<?php 
    }
    ?>
	<div id="replyhead" style="display:none;"><h5><?php 
    _e('Reply to Comment');
    ?></h5></div>
	<div id="addhead" style="display:none;"><h5><?php 
    _e('Add new Comment');
    ?></h5></div>
	<div id="edithead" style="display:none;">
		<div class="inside">
		<label for="author"><?php 
    _e('Name');
    ?></label>
		<input type="text" name="newcomment_author" size="50" value="" id="author" />
		</div>

		<div class="inside">
		<label for="author-email"><?php 
    _e('E-mail');
    ?></label>
		<input type="text" name="newcomment_author_email" size="50" value="" id="author-email" />
		</div>

		<div class="inside">
		<label for="author-url"><?php 
    _e('URL');
    ?></label>
		<input type="text" id="author-url" name="newcomment_author_url" class="code" size="103" value="" />
		</div>
		<div style="clear:both;"></div>
	</div>

	<div id="replycontainer">
	<?php 
    $quicktags_settings = array('buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close');
    wp_editor('', 'replycontent', array('media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings));
    ?>
	</div>

	<p id="replysubmit" class="submit">
	<a href="#comments-form" class="save button-primary alignright">
	<span id="addbtn" style="display:none;"><?php 
    _e('Add Comment');
    ?></span>
	<span id="savebtn" style="display:none;"><?php 
    _e('Update Comment');
    ?></span>
	<span id="replybtn" style="display:none;"><?php 
    _e('Submit Reply');
    ?></span></a>
	<a href="#comments-form" class="cancel button-secondary alignleft"><?php 
    _e('Cancel');
    ?></a>
	<span class="waiting spinner"></span>
	<span class="error" style="display:none;"></span>
	<br class="clear" />
	</p>

	<input type="hidden" name="action" id="action" value="" />
	<input type="hidden" name="comment_ID" id="comment_ID" value="" />
	<input type="hidden" name="comment_post_ID" id="comment_post_ID" value="" />
	<input type="hidden" name="status" id="status" value="" />
	<input type="hidden" name="position" id="position" value="<?php 
    echo $position;
    ?>" />
	<input type="hidden" name="checkbox" id="checkbox" value="<?php 
    echo $checkbox ? 1 : 0;
    ?>" />
	<input type="hidden" name="mode" id="mode" value="<?php 
    echo esc_attr($mode);
    ?>" />
	<?php 
    wp_nonce_field('replyto-comment', '_ajax_nonce-replyto-comment', false);
    if (current_user_can('unfiltered_html')) {
        wp_nonce_field('unfiltered-html-comment', '_wp_unfiltered_html_comment', false);
    }
    if ($table_row) {
        ?>
</td></tr></tbody></table>
<?php 
    } else {
        ?>
</div></div>
<?php 
    }
    ?>
</form>
<?php 
}

WordPress Version: 4.2

/**
 * {@internal Missing Short Description}}
 *
 * @since 2.7.0
 *
 * @param int $position
 * @param bool $checkbox
 * @param string $mode
 * @param bool $table_row
 */
function wp_comment_reply($position = 1, $checkbox = false, $mode = 'single', $table_row = true)
{
    global $wp_list_table;
    /**
     * Filter the in-line comment reply-to form output in the Comments
     * list table.
     *
     * Returning a non-empty value here will short-circuit display
     * of the in-line comment-reply form in the Comments list table,
     * echoing the returned value instead.
     *
     * @since 2.7.0
     *
     * @see wp_comment_reply()
     *
     * @param string $content The reply-to form content.
     * @param array  $args    An array of default args.
     */
    $content = apply_filters('wp_comment_reply', '', array('position' => $position, 'checkbox' => $checkbox, 'mode' => $mode));
    if (!empty($content)) {
        echo $content;
        return;
    }
    if (!$wp_list_table) {
        if ($mode == 'single') {
            $wp_list_table = _get_list_table('WP_Post_Comments_List_Table');
        } else {
            $wp_list_table = _get_list_table('WP_Comments_List_Table');
        }
    }
    ?>
<form method="get">
<?php 
    if ($table_row) {
        ?>
<table style="display:none;"><tbody id="com-reply"><tr id="replyrow" style="display:none;"><td colspan="<?php 
        echo $wp_list_table->get_column_count();
        ?>" class="colspanchange">
<?php 
    } else {
        ?>
<div id="com-reply" style="display:none;"><div id="replyrow" style="display:none;">
<?php 
    }
    ?>
	<div id="replyhead" style="display:none;"><h5><?php 
    _e('Reply to Comment');
    ?></h5></div>
	<div id="addhead" style="display:none;"><h5><?php 
    _e('Add new Comment');
    ?></h5></div>
	<div id="edithead" style="display:none;">
		<div class="inside">
		<label for="author"><?php 
    _e('Name');
    ?></label>
		<input type="text" name="newcomment_author" size="50" value="" id="author" />
		</div>

		<div class="inside">
		<label for="author-email"><?php 
    _e('E-mail');
    ?></label>
		<input type="text" name="newcomment_author_email" size="50" value="" id="author-email" />
		</div>

		<div class="inside">
		<label for="author-url"><?php 
    _e('URL');
    ?></label>
		<input type="text" id="author-url" name="newcomment_author_url" class="code" size="103" value="" />
		</div>
		<div style="clear:both;"></div>
	</div>

	<div id="replycontainer">
	<?php 
    $quicktags_settings = array('buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close');
    wp_editor('', 'replycontent', array('media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings));
    ?>
	</div>

	<p id="replysubmit" class="submit">
	<a href="#comments-form" class="save button-primary alignright">
	<span id="addbtn" style="display:none;"><?php 
    _e('Add Comment');
    ?></span>
	<span id="savebtn" style="display:none;"><?php 
    _e('Update Comment');
    ?></span>
	<span id="replybtn" style="display:none;"><?php 
    _e('Submit Reply');
    ?></span></a>
	<a href="#comments-form" class="cancel button-secondary alignleft"><?php 
    _e('Cancel');
    ?></a>
	<span class="waiting spinner"></span>
	<span class="error" style="display:none;"></span>
	<br class="clear" />
	</p>

	<input type="hidden" name="action" id="action" value="" />
	<input type="hidden" name="comment_ID" id="comment_ID" value="" />
	<input type="hidden" name="comment_post_ID" id="comment_post_ID" value="" />
	<input type="hidden" name="status" id="status" value="" />
	<input type="hidden" name="position" id="position" value="<?php 
    echo $position;
    ?>" />
	<input type="hidden" name="checkbox" id="checkbox" value="<?php 
    echo $checkbox ? 1 : 0;
    ?>" />
	<input type="hidden" name="mode" id="mode" value="<?php 
    echo esc_attr($mode);
    ?>" />
	<?php 
    wp_nonce_field('replyto-comment', '_ajax_nonce-replyto-comment', false);
    if (current_user_can('unfiltered_html')) {
        wp_nonce_field('unfiltered-html-comment', '_wp_unfiltered_html_comment', false);
    }
    if ($table_row) {
        ?>
</td></tr></tbody></table>
<?php 
    } else {
        ?>
</div></div>
<?php 
    }
    ?>
</form>
<?php 
}

WordPress Version: 4.1

/**
 * {@internal Missing Short Description}}
 *
 * @since 2.7.0
 *
 * @param int $position
 * @param bool $checkbox
 * @param string $mode
 * @param bool $table_row
 */
function wp_comment_reply($position = '1', $checkbox = false, $mode = 'single', $table_row = true)
{
    /**
     * Filter the in-line comment reply-to form output in the Comments
     * list table.
     *
     * Returning a non-empty value here will short-circuit display
     * of the in-line comment-reply form in the Comments list table,
     * echoing the returned value instead.
     *
     * @since 2.7.0
     *
     * @see wp_comment_reply()
     *
     * @param string $content The reply-to form content.
     * @param array  $args    An array of default args.
     */
    $content = apply_filters('wp_comment_reply', '', array('position' => $position, 'checkbox' => $checkbox, 'mode' => $mode));
    if (!empty($content)) {
        echo $content;
        return;
    }
    if ($mode == 'single') {
        $wp_list_table = _get_list_table('WP_Post_Comments_List_Table');
    } else {
        $wp_list_table = _get_list_table('WP_Comments_List_Table');
    }
    ?>
<form method="get" action="">
<?php 
    if ($table_row) {
        ?>
<table style="display:none;"><tbody id="com-reply"><tr id="replyrow" style="display:none;"><td colspan="<?php 
        echo $wp_list_table->get_column_count();
        ?>" class="colspanchange">
<?php 
    } else {
        ?>
<div id="com-reply" style="display:none;"><div id="replyrow" style="display:none;">
<?php 
    }
    ?>
	<div id="replyhead" style="display:none;"><h5><?php 
    _e('Reply to Comment');
    ?></h5></div>
	<div id="addhead" style="display:none;"><h5><?php 
    _e('Add new Comment');
    ?></h5></div>
	<div id="edithead" style="display:none;">
		<div class="inside">
		<label for="author"><?php 
    _e('Name');
    ?></label>
		<input type="text" name="newcomment_author" size="50" value="" id="author" />
		</div>

		<div class="inside">
		<label for="author-email"><?php 
    _e('E-mail');
    ?></label>
		<input type="text" name="newcomment_author_email" size="50" value="" id="author-email" />
		</div>

		<div class="inside">
		<label for="author-url"><?php 
    _e('URL');
    ?></label>
		<input type="text" id="author-url" name="newcomment_author_url" class="code" size="103" value="" />
		</div>
		<div style="clear:both;"></div>
	</div>

	<div id="replycontainer">
	<?php 
    $quicktags_settings = array('buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close');
    wp_editor('', 'replycontent', array('media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings));
    ?>
	</div>

	<p id="replysubmit" class="submit">
	<a href="#comments-form" class="save button-primary alignright">
	<span id="addbtn" style="display:none;"><?php 
    _e('Add Comment');
    ?></span>
	<span id="savebtn" style="display:none;"><?php 
    _e('Update Comment');
    ?></span>
	<span id="replybtn" style="display:none;"><?php 
    _e('Submit Reply');
    ?></span></a>
	<a href="#comments-form" class="cancel button-secondary alignleft"><?php 
    _e('Cancel');
    ?></a>
	<span class="waiting spinner"></span>
	<span class="error" style="display:none;"></span>
	<br class="clear" />
	</p>

	<input type="hidden" name="user_ID" id="user_ID" value="<?php 
    echo get_current_user_id();
    ?>" />
	<input type="hidden" name="action" id="action" value="" />
	<input type="hidden" name="comment_ID" id="comment_ID" value="" />
	<input type="hidden" name="comment_post_ID" id="comment_post_ID" value="" />
	<input type="hidden" name="status" id="status" value="" />
	<input type="hidden" name="position" id="position" value="<?php 
    echo $position;
    ?>" />
	<input type="hidden" name="checkbox" id="checkbox" value="<?php 
    echo $checkbox ? 1 : 0;
    ?>" />
	<input type="hidden" name="mode" id="mode" value="<?php 
    echo esc_attr($mode);
    ?>" />
	<?php 
    wp_nonce_field('replyto-comment', '_ajax_nonce-replyto-comment', false);
    if (current_user_can('unfiltered_html')) {
        wp_nonce_field('unfiltered-html-comment', '_wp_unfiltered_html_comment', false);
    }
    if ($table_row) {
        ?>
</td></tr></tbody></table>
<?php 
    } else {
        ?>
</div></div>
<?php 
    }
    ?>
</form>
<?php 
}

WordPress Version: 4.0

/**
 * {@internal Missing Short Description}}
 *
 * @since 2.7.0
 *
 * @param unknown_type $position
 * @param unknown_type $checkbox
 * @param unknown_type $mode
 */
function wp_comment_reply($position = '1', $checkbox = false, $mode = 'single', $table_row = true)
{
    /**
     * Filter the in-line comment reply-to form output in the Comments
     * list table.
     *
     * Returning a non-empty value here will short-circuit display
     * of the in-line comment-reply form in the Comments list table,
     * echoing the returned value instead.
     *
     * @since 2.7.0
     *
     * @see wp_comment_reply()
     *
     * @param string $content The reply-to form content.
     * @param array  $args    An array of default args.
     */
    $content = apply_filters('wp_comment_reply', '', array('position' => $position, 'checkbox' => $checkbox, 'mode' => $mode));
    if (!empty($content)) {
        echo $content;
        return;
    }
    if ($mode == 'single') {
        $wp_list_table = _get_list_table('WP_Post_Comments_List_Table');
    } else {
        $wp_list_table = _get_list_table('WP_Comments_List_Table');
    }
    ?>
<form method="get" action="">
<?php 
    if ($table_row) {
        ?>
<table style="display:none;"><tbody id="com-reply"><tr id="replyrow" style="display:none;"><td colspan="<?php 
        echo $wp_list_table->get_column_count();
        ?>" class="colspanchange">
<?php 
    } else {
        ?>
<div id="com-reply" style="display:none;"><div id="replyrow" style="display:none;">
<?php 
    }
    ?>
	<div id="replyhead" style="display:none;"><h5><?php 
    _e('Reply to Comment');
    ?></h5></div>
	<div id="addhead" style="display:none;"><h5><?php 
    _e('Add new Comment');
    ?></h5></div>
	<div id="edithead" style="display:none;">
		<div class="inside">
		<label for="author"><?php 
    _e('Name');
    ?></label>
		<input type="text" name="newcomment_author" size="50" value="" id="author" />
		</div>

		<div class="inside">
		<label for="author-email"><?php 
    _e('E-mail');
    ?></label>
		<input type="text" name="newcomment_author_email" size="50" value="" id="author-email" />
		</div>

		<div class="inside">
		<label for="author-url"><?php 
    _e('URL');
    ?></label>
		<input type="text" id="author-url" name="newcomment_author_url" class="code" size="103" value="" />
		</div>
		<div style="clear:both;"></div>
	</div>

	<div id="replycontainer">
	<?php 
    $quicktags_settings = array('buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close');
    wp_editor('', 'replycontent', array('media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings));
    ?>
	</div>

	<p id="replysubmit" class="submit">
	<a href="#comments-form" class="save button-primary alignright">
	<span id="addbtn" style="display:none;"><?php 
    _e('Add Comment');
    ?></span>
	<span id="savebtn" style="display:none;"><?php 
    _e('Update Comment');
    ?></span>
	<span id="replybtn" style="display:none;"><?php 
    _e('Submit Reply');
    ?></span></a>
	<a href="#comments-form" class="cancel button-secondary alignleft"><?php 
    _e('Cancel');
    ?></a>
	<span class="waiting spinner"></span>
	<span class="error" style="display:none;"></span>
	<br class="clear" />
	</p>

	<input type="hidden" name="user_ID" id="user_ID" value="<?php 
    echo get_current_user_id();
    ?>" />
	<input type="hidden" name="action" id="action" value="" />
	<input type="hidden" name="comment_ID" id="comment_ID" value="" />
	<input type="hidden" name="comment_post_ID" id="comment_post_ID" value="" />
	<input type="hidden" name="status" id="status" value="" />
	<input type="hidden" name="position" id="position" value="<?php 
    echo $position;
    ?>" />
	<input type="hidden" name="checkbox" id="checkbox" value="<?php 
    echo $checkbox ? 1 : 0;
    ?>" />
	<input type="hidden" name="mode" id="mode" value="<?php 
    echo esc_attr($mode);
    ?>" />
	<?php 
    wp_nonce_field('replyto-comment', '_ajax_nonce-replyto-comment', false);
    if (current_user_can('unfiltered_html')) {
        wp_nonce_field('unfiltered-html-comment', '_wp_unfiltered_html_comment', false);
    }
    if ($table_row) {
        ?>
</td></tr></tbody></table>
<?php 
    } else {
        ?>
</div></div>
<?php 
    }
    ?>
</form>
<?php 
}

WordPress Version: 3.9

/**
 * {@internal Missing Short Description}}
 *
 * @since 2.7.0
 *
 * @param unknown_type $position
 * @param unknown_type $checkbox
 * @param unknown_type $mode
 */
function wp_comment_reply($position = '1', $checkbox = false, $mode = 'single', $table_row = true)
{
    /**
     * Filter the in-line comment reply-to form output in the Comments
     * list table.
     *
     * Returning a non-empty value here will short-circuit display
     * of the in-line comment-reply form in the Comments list table,
     * echoing the returned value instead.
     *
     * @since 2.7.0
     *
     * @see wp_comment_reply()
     *
     * @param string $content The reply-to form content.
     * @param array  $args    An array of default args.
     */
    $content = apply_filters('wp_comment_reply', '', array('position' => $position, 'checkbox' => $checkbox, 'mode' => $mode));
    if (!empty($content)) {
        echo $content;
        return;
    }
    if ($mode == 'single') {
        $wp_list_table = _get_list_table('WP_Post_Comments_List_Table');
    } else {
        $wp_list_table = _get_list_table('WP_Comments_List_Table');
    }
    ?>
<form method="get" action="">
<?php 
    if ($table_row) {
        ?>
<table style="display:none;"><tbody id="com-reply"><tr id="replyrow" style="display:none;"><td colspan="<?php 
        echo $wp_list_table->get_column_count();
        ?>" class="colspanchange">
<?php 
    } else {
        ?>
<div id="com-reply" style="display:none;"><div id="replyrow" style="display:none;">
<?php 
    }
    ?>
	<div id="replyhead" style="display:none;"><h5><?php 
    _e('Reply to Comment');
    ?></h5></div>
	<div id="addhead" style="display:none;"><h5><?php 
    _e('Add new Comment');
    ?></h5></div>
	<div id="edithead" style="display:none;">
		<div class="inside">
		<label for="author"><?php 
    _e('Name');
    ?></label>
		<input type="text" name="newcomment_author" size="50" value="" id="author" />
		</div>

		<div class="inside">
		<label for="author-email"><?php 
    _e('E-mail');
    ?></label>
		<input type="text" name="newcomment_author_email" size="50" value="" id="author-email" />
		</div>

		<div class="inside">
		<label for="author-url"><?php 
    _e('URL');
    ?></label>
		<input type="text" id="author-url" name="newcomment_author_url" size="103" value="" />
		</div>
		<div style="clear:both;"></div>
	</div>

	<div id="replycontainer">
	<?php 
    $quicktags_settings = array('buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close');
    wp_editor('', 'replycontent', array('media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings));
    ?>
	</div>

	<p id="replysubmit" class="submit">
	<a href="#comments-form" class="save button-primary alignright">
	<span id="addbtn" style="display:none;"><?php 
    _e('Add Comment');
    ?></span>
	<span id="savebtn" style="display:none;"><?php 
    _e('Update Comment');
    ?></span>
	<span id="replybtn" style="display:none;"><?php 
    _e('Submit Reply');
    ?></span></a>
	<a href="#comments-form" class="cancel button-secondary alignleft"><?php 
    _e('Cancel');
    ?></a>
	<span class="waiting spinner"></span>
	<span class="error" style="display:none;"></span>
	<br class="clear" />
	</p>

	<input type="hidden" name="user_ID" id="user_ID" value="<?php 
    echo get_current_user_id();
    ?>" />
	<input type="hidden" name="action" id="action" value="" />
	<input type="hidden" name="comment_ID" id="comment_ID" value="" />
	<input type="hidden" name="comment_post_ID" id="comment_post_ID" value="" />
	<input type="hidden" name="status" id="status" value="" />
	<input type="hidden" name="position" id="position" value="<?php 
    echo $position;
    ?>" />
	<input type="hidden" name="checkbox" id="checkbox" value="<?php 
    echo $checkbox ? 1 : 0;
    ?>" />
	<input type="hidden" name="mode" id="mode" value="<?php 
    echo esc_attr($mode);
    ?>" />
	<?php 
    wp_nonce_field('replyto-comment', '_ajax_nonce-replyto-comment', false);
    if (current_user_can('unfiltered_html')) {
        wp_nonce_field('unfiltered-html-comment', '_wp_unfiltered_html_comment', false);
    }
    if ($table_row) {
        ?>
</td></tr></tbody></table>
<?php 
    } else {
        ?>
</div></div>
<?php 
    }
    ?>
</form>
<?php 
}

WordPress Version: 3.7

/**
 * {@internal Missing Short Description}}
 *
 * @since 2.7.0
 *
 * @param unknown_type $position
 * @param unknown_type $checkbox
 * @param unknown_type $mode
 */
function wp_comment_reply($position = '1', $checkbox = false, $mode = 'single', $table_row = true)
{
    // allow plugin to replace the popup content
    $content = apply_filters('wp_comment_reply', '', array('position' => $position, 'checkbox' => $checkbox, 'mode' => $mode));
    if (!empty($content)) {
        echo $content;
        return;
    }
    if ($mode == 'single') {
        $wp_list_table = _get_list_table('WP_Post_Comments_List_Table');
    } else {
        $wp_list_table = _get_list_table('WP_Comments_List_Table');
    }
    ?>
<form method="get" action="">
<?php 
    if ($table_row) {
        ?>
<table style="display:none;"><tbody id="com-reply"><tr id="replyrow" style="display:none;"><td colspan="<?php 
        echo $wp_list_table->get_column_count();
        ?>" class="colspanchange">
<?php 
    } else {
        ?>
<div id="com-reply" style="display:none;"><div id="replyrow" style="display:none;">
<?php 
    }
    ?>
	<div id="replyhead" style="display:none;"><h5><?php 
    _e('Reply to Comment');
    ?></h5></div>
	<div id="addhead" style="display:none;"><h5><?php 
    _e('Add new Comment');
    ?></h5></div>
	<div id="edithead" style="display:none;">
		<div class="inside">
		<label for="author"><?php 
    _e('Name');
    ?></label>
		<input type="text" name="newcomment_author" size="50" value="" id="author" />
		</div>

		<div class="inside">
		<label for="author-email"><?php 
    _e('E-mail');
    ?></label>
		<input type="text" name="newcomment_author_email" size="50" value="" id="author-email" />
		</div>

		<div class="inside">
		<label for="author-url"><?php 
    _e('URL');
    ?></label>
		<input type="text" id="author-url" name="newcomment_author_url" size="103" value="" />
		</div>
		<div style="clear:both;"></div>
	</div>

	<div id="replycontainer">
	<?php 
    $quicktags_settings = array('buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close');
    wp_editor('', 'replycontent', array('media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings));
    ?>
	</div>

	<p id="replysubmit" class="submit">
	<a href="#comments-form" class="save button-primary alignright">
	<span id="addbtn" style="display:none;"><?php 
    _e('Add Comment');
    ?></span>
	<span id="savebtn" style="display:none;"><?php 
    _e('Update Comment');
    ?></span>
	<span id="replybtn" style="display:none;"><?php 
    _e('Submit Reply');
    ?></span></a>
	<a href="#comments-form" class="cancel button-secondary alignleft"><?php 
    _e('Cancel');
    ?></a>
	<span class="waiting spinner"></span>
	<span class="error" style="display:none;"></span>
	<br class="clear" />
	</p>

	<input type="hidden" name="user_ID" id="user_ID" value="<?php 
    echo get_current_user_id();
    ?>" />
	<input type="hidden" name="action" id="action" value="" />
	<input type="hidden" name="comment_ID" id="comment_ID" value="" />
	<input type="hidden" name="comment_post_ID" id="comment_post_ID" value="" />
	<input type="hidden" name="status" id="status" value="" />
	<input type="hidden" name="position" id="position" value="<?php 
    echo $position;
    ?>" />
	<input type="hidden" name="checkbox" id="checkbox" value="<?php 
    echo $checkbox ? 1 : 0;
    ?>" />
	<input type="hidden" name="mode" id="mode" value="<?php 
    echo esc_attr($mode);
    ?>" />
	<?php 
    wp_nonce_field('replyto-comment', '_ajax_nonce-replyto-comment', false);
    if (current_user_can('unfiltered_html')) {
        wp_nonce_field('unfiltered-html-comment', '_wp_unfiltered_html_comment', false);
    }
    if ($table_row) {
        ?>
</td></tr></tbody></table>
<?php 
    } else {
        ?>
</div></div>
<?php 
    }
    ?>
</form>
<?php 
}