Forums

[resolved] do_action('comment_form', $post->ID) Adds Extra <BR> Tag? (2 posts)

  1. vincentrich
    Member
    Posted 3 years ago #

    I have do_action('comment_form', $post->ID) just before the </forms> tags in my comments.php template file.

    When the page is generated, I see this:

    <input type="hidden" id="_wp_unfiltered_html_comment" name="_wp_unfiltered_html_comment" value="5e5c9912a7" />

    Why is there a
    tag at the end of this hidden input field?

  2. vincentrich
    Member
    Posted 3 years ago #

    Ok. Found the root of this problem.

    The Google Friend Connect WordPress plugin messed it up.

    // The fc_wp_comment_form function
    // This just creates a div tag that will be replaced by the javascript code
    // when the page gets loaded
    function fc_wp_comment_form() {
     ?>
       <br />
       <div id="profile">
       </div>
     <?
    }

Topic Closed

This topic has been closed to new replies.

About this Topic