Use comment_form instead of comments_form as the name of the hook. Props greenshady. see #10910

git-svn-id: http://svn.automattic.com/wordpress/trunk@13028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-02-08 18:27:02 +00:00
parent 1e4d04ee6b
commit 4f4d2d446d
1 changed files with 1 additions and 1 deletions

View File

@ -1512,7 +1512,7 @@ function comment_form( $args = array(), $post_id = null ) {
<input name="submit" type="submit" id="<?php echo esc_attr( $args['id_submit'] ); ?>" tabindex="<?php echo ( count( $args['fields'] ) + 2 ); ?>" value="<?php echo esc_attr( $args['label_submit'] ); ?>" />
<?php comment_id_fields(); ?>
</p>
<?php do_action( 'comments_form', $post_id ); ?>
<?php do_action( 'comment_form', $post_id ); ?>
</form>
<?php endif; ?>
</div>