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

git-svn-id: https://develop.svn.wordpress.org/trunk@13028 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-02-08 18:27:02 +00:00
parent e12533e0cb
commit cda50d2f2e
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>